diff options
Diffstat (limited to 'test/cli/run/run-process-env.test.ts')
-rw-r--r-- | test/cli/run/run-process-env.test.ts | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/test/cli/run/run-process-env.test.ts b/test/cli/run/run-process-env.test.ts index 1d7cb2c56..8303fe19c 100644 --- a/test/cli/run/run-process-env.test.ts +++ b/test/cli/run/run-process-env.test.ts @@ -15,16 +15,15 @@ describe("process.env", () => { }); // https://github.com/oven-sh/bun/issues/3589 - test('npm_lifecycle_event should have the value of the last call', () => { + test("npm_lifecycle_event should have the value of the last call", () => { const dir = tempDirWithFiles("processenv_ls_call", { "package.json": `{"scripts": { "first": "${bunExe()} run --cwd lsc second" } }`, "lsc": { "package.json": `{"scripts": { "second": "${bunExe()} run index.ts" } }`, "index.ts": "console.log(process.env.npm_lifecycle_event);", - } + }, }); - const { stdout } = bunRunAsScript(dir, "first"); expect(stdout).toBe("second"); }); |