diff options
author | 2022-10-11 20:25:16 -0700 | |
---|---|---|
committer | 2022-10-11 20:25:16 -0700 | |
commit | 36adee4dc80c0aeb4d46bf56775af2a7a512b576 (patch) | |
tree | e9863b18e42ddb18e9c66d9ad69afc3b1e009eda /test/bun.js/log-test.test.ts | |
parent | 9fe1ad93cb8a8c0d398061a3c4548e0d8ef99f70 (diff) | |
download | bun-36adee4dc80c0aeb4d46bf56775af2a7a512b576.tar.gz bun-36adee4dc80c0aeb4d46bf56775af2a7a512b576.tar.zst bun-36adee4dc80c0aeb4d46bf56775af2a7a512b576.zip |
Make `Bun.spawn` work on Linux
Diffstat (limited to '')
-rw-r--r-- | test/bun.js/log-test.test.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/bun.js/log-test.test.ts b/test/bun.js/log-test.test.ts index 883daa5c4..ecc2c3939 100644 --- a/test/bun.js/log-test.test.ts +++ b/test/bun.js/log-test.test.ts @@ -10,7 +10,7 @@ it("should not log .env when quiet", async () => { "index.ts": "export default console.log('Here');", }); const out = spawn({ - cmd: [process.argv[0], "index.ts"], + cmd: ["bun", "index.ts"], stdout: "pipe", stderr: "pipe", cwd: "/tmp/log-test-silent", @@ -30,7 +30,7 @@ it("should log .env by default", async () => { }); const out = spawn({ - cmd: [process.argv[0], "index.ts"], + cmd: ["bun", "index.ts"], stdout: "pipe", stderr: "pipe", cwd: "/tmp/log-test-silent", |