Skip to content

Commit

Permalink
Adapt code to different exit code in different platforms
Browse files Browse the repository at this point in the history
  • Loading branch information
rubennorte committed Mar 7, 2019
1 parent 135bf24 commit f5f2ed6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion e2e/__tests__/fatalWorkerError.test.ts
Expand Up @@ -38,7 +38,7 @@ test('fails a test that terminates the worker with a fatal error', () => {
});

const {status, stderr} = runJest(DIR);
expect(status).toBe(1);
expect(status).not.toBe(0);
expect(stderr).toContain('FAIL __tests__/fatalWorkerError.test.js');
expect(stderr).toContain('Call retries were exceeded');
});

0 comments on commit f5f2ed6

Please sign in to comment.