From 696116263619ffe1460be8cac48fc3a39389ec0d Mon Sep 17 00:00:00 2001 From: Shelley Vohr Date: Wed, 1 Nov 2017 14:26:39 -0400 Subject: [PATCH] another try at fixing travis test --- spec/api-crash-reporter-spec.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/spec/api-crash-reporter-spec.js b/spec/api-crash-reporter-spec.js index 1cd6bbc3e7c2..71c561f16d14 100644 --- a/spec/api-crash-reporter-spec.js +++ b/spec/api-crash-reporter-spec.js @@ -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) + } }) })