diff options
| author | 2023-05-28 17:20:32 -0300 | |
|---|---|---|
| committer | 2023-05-28 13:20:32 -0700 | |
| commit | 63e2d78e76d2af1e584b91f013011db8034fae2e (patch) | |
| tree | eb8ccce1705befc7474f103fcb7ff6617a638717 /test/cli/run/run-process-env.test.ts | |
| parent | 1388ec0d60e77cb0d71475fef33ab5764501b208 (diff) | |
| download | bun-63e2d78e76d2af1e584b91f013011db8034fae2e.tar.gz bun-63e2d78e76d2af1e584b91f013011db8034fae2e.tar.zst bun-63e2d78e76d2af1e584b91f013011db8034fae2e.zip | |
[node:net] fix createConnection options passing (#3101)
* fixup createConnection
* fix comment
* fixup comment
* also fix it on tls
Diffstat (limited to 'test/cli/run/run-process-env.test.ts')
| -rw-r--r-- | test/cli/run/run-process-env.test.ts | 4 |
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); }); |
