Skip to content

Commit

Permalink
test(sandbox): restore getChildrenValues mock after test
Browse files Browse the repository at this point in the history
  • Loading branch information
manast committed Jan 22, 2025
1 parent a6fac81 commit f3c678d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/test_sandboxed_process.ts
Original file line number Diff line number Diff line change
Expand Up @@ -884,6 +884,9 @@ function sandboxProcessTests(
await parentWorker.close();
await childWorker.close();
await flow.close();

// Restore Job.getChildrenValues
Job.prototype.getChildrenValues = getChildrenValues;
});

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

0 comments on commit f3c678d

Please # to comment.