another try at fixing travis test
This commit is contained in:
parent
0adf775d9a
commit
6961162636
1 changed files with 5 additions and 5 deletions
|
@ -255,11 +255,11 @@ describe('crashReporter module', () => {
|
|||
|
||||
describe('getLastCrashReport', () => {
|
||||
it('correctly returns the most recent report', () => {
|
||||
if (process.env.TRAVIS === 'True') return
|
||||
|
||||
const reports = crashReporter.getUploadedReports()
|
||||
const lastReport = reports[0]
|
||||
assert(lastReport != null)
|
||||
if (process.env.TRAVIS === 'False') {
|
||||
const reports = crashReporter.getUploadedReports()
|
||||
const lastReport = reports[0]
|
||||
assert(lastReport != null)
|
||||
}
|
||||
})
|
||||
})
|
||||
|
||||
|
|
Loading…
Reference in a new issue