Skip to content

Commit f5f2ed6

Browse files
committed
Adapt code to different exit code in different platforms
1 parent 135bf24 commit f5f2ed6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

e2e/__tests__/fatalWorkerError.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ test('fails a test that terminates the worker with a fatal error', () => {
3838
});
3939

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

0 commit comments

Comments
 (0)