another try at fixing travis test

This commit is contained in:
Shelley Vohr 2017-11-01 14:26:39 -04:00
parent 0adf775d9a
commit 6961162636
No known key found for this signature in database
GPG key ID: F13993A75599653C

View file

@ -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) }
}) })
}) })