You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using bun v1.1.33, trying to call cleanup on the return of launchTestNode results in the following error:
282 | }
283 | childState.isDead = true;
284 | removeSideffects();
285 | if (child.pid !== void 0) {
286 | try {
287 | process.kill(-child.pid);
^
RangeError: The value of "pid" is out of range. It must be a positive integer.
There is the issue oven-sh/bun#8787 which documents an additional occurrence of this problem, so it might not be our fault.
Run the following to reproduce:
mkdir bun-test &&cd bun-test && bun init -y && bun add [email protected]&&echo'import { test } from "bun:test";import { launchTestNode } from "fuels/test-utils";test("test", async () => { using launched = await launchTestNode();});'> failing.test.ts && bun test
The text was updated successfully, but these errors were encountered:
When using
bun v1.1.33
, trying to callcleanup
on the return oflaunchTestNode
results in the following error:There is the issue oven-sh/bun#8787 which documents an additional occurrence of this problem, so it might not be our fault.
Run the following to reproduce:
The text was updated successfully, but these errors were encountered: