aboutsummaryrefslogtreecommitdiff
path: root/test/cli/run/run-process-env.test.ts
diff options
context:
space:
mode:
Diffstat (limited to 'test/cli/run/run-process-env.test.ts')
-rw-r--r--test/cli/run/run-process-env.test.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/cli/run/run-process-env.test.ts b/test/cli/run/run-process-env.test.ts
index d245ff80c..8d8eb0b07 100644
--- a/test/cli/run/run-process-env.test.ts
+++ b/test/cli/run/run-process-env.test.ts
@@ -3,13 +3,13 @@ import { bunRunAsScript, tempDirWithFiles } from "harness";
describe("process.env", () => {
test("npm_lifecycle_event", () => {
- const scriptName = 'start:dev';
+ const scriptName = "start:dev";
const dir = tempDirWithFiles("processenv", {
"package.json": `{'scripts': {'${scriptName}': 'bun run index.ts'}}`,
"index.ts": "console.log(process.env.npm_lifecycle_event);",
});
-
+
const { stdout } = bunRunAsScript(dir, scriptName);
expect(stdout).toBe(scriptName);
});