Skip to content

Commit 25295b4

Browse files
committed
test(sandbox): restore getChildrenValues mock after test
1 parent 978346c commit 25295b4

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tests/test_sandboxed_process.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -884,6 +884,9 @@ function sandboxProcessTests(
884884
await parentWorker.close();
885885
await childWorker.close();
886886
await flow.close();
887+
888+
// Restore Job.getChildrenValues
889+
Job.prototype.getChildrenValues = getChildrenValues;
887890
});
888891

889892
it('should process and move to delayed', async () => {

0 commit comments

Comments
 (0)