Skip to content

Commit 1509581

Browse files
committed
test(unit): fix expectation with new param.
1 parent 1d42c32 commit 1509581

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

detox/src/DetoxWorker.test.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -429,15 +429,15 @@ describe('DetoxWorker', () => {
429429

430430
await detox.onTestDone(testSummaries.passed());
431431

432-
expect(detox.pilot.end).toHaveBeenCalledWith(false);
432+
expect(detox.pilot.end).toHaveBeenCalledWith(true);
433433
});
434434

435435
it('should end pilot without cache if test has failed', async () => {
436436
detox.pilot.isInitialized = () => true;
437437

438438
await detox.onTestDone(testSummaries.failed());
439439

440-
expect(detox.pilot.end).toHaveBeenCalledWith(true);
440+
expect(detox.pilot.end).toHaveBeenCalledWith(false);
441441
});
442442
});
443443

0 commit comments

Comments
 (0)