diff options
author | 2023-07-14 19:37:22 -0700 | |
---|---|---|
committer | 2023-07-14 19:37:22 -0700 | |
commit | c39c11e1011b682c2c4e48594c7d6110cfc3343c (patch) | |
tree | 8808ca4cd6684949423f28f3cd4d90aedb605cb7 /test/cli/run/run-process-env.test.ts | |
parent | 25512104265aa568ca98e5bd89a977203ee261a6 (diff) | |
download | bun-c39c11e1011b682c2c4e48594c7d6110cfc3343c.tar.gz bun-c39c11e1011b682c2c4e48594c7d6110cfc3343c.tar.zst bun-c39c11e1011b682c2c4e48594c7d6110cfc3343c.zip |
structured clone (#3637)
* copy `SerializedScriptValue`
* format
* make `SerializedScriptValue` compile
* add `transfer` option
* tests
* serialize/deserialize blobs
* tests for blobs
* serialize/deserialize file blobs
* more tests
* small cleanup
* format
* small changes + serialize offset
* slice helper
* map and set test
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"); }); |