We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1d42c32 commit 1509581Copy full SHA for 1509581
detox/src/DetoxWorker.test.js
@@ -429,15 +429,15 @@ describe('DetoxWorker', () => {
429
430
await detox.onTestDone(testSummaries.passed());
431
432
- expect(detox.pilot.end).toHaveBeenCalledWith(false);
+ expect(detox.pilot.end).toHaveBeenCalledWith(true);
433
});
434
435
it('should end pilot without cache if test has failed', async () => {
436
detox.pilot.isInitialized = () => true;
437
438
await detox.onTestDone(testSummaries.failed());
439
440
- expect(detox.pilot.end).toHaveBeenCalledWith(true);
+ expect(detox.pilot.end).toHaveBeenCalledWith(false);
441
442
443
0 commit comments