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', () => {
|
describe('getLastCrashReport', () => {
|
||||||
it('correctly returns the most recent report', () => {
|
it('correctly returns the most recent report', () => {
|
||||||
if (process.env.TRAVIS === 'True') return
|
if (process.env.TRAVIS === 'False') {
|
||||||
|
const reports = crashReporter.getUploadedReports()
|
||||||
const reports = crashReporter.getUploadedReports()
|
const lastReport = reports[0]
|
||||||
const lastReport = reports[0]
|
assert(lastReport != null)
|
||||||
assert(lastReport != null)
|
}
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue