diff options
author | 2023-10-16 21:22:43 -0700 | |
---|---|---|
committer | 2023-10-16 21:22:43 -0700 | |
commit | 98d19fa6244384f7e17998b5420d724481ed3835 (patch) | |
tree | 3061ccab41196daf4194ecc385961b121f2ec06d /test/js/node | |
parent | a3958190e8f106adca7fbf4ba2605056cb22aced (diff) | |
download | bun-98d19fa6244384f7e17998b5420d724481ed3835.tar.gz bun-98d19fa6244384f7e17998b5420d724481ed3835.tar.zst bun-98d19fa6244384f7e17998b5420d724481ed3835.zip |
fix(runtime): make some things more stable (partial jsc debug build) (#5881)
* make our debug assertions work
* install bun-webkit-debug
* more progress
* ok
* progress...
* more debug build stuff
* ok
* a
* asdfghjkl
* fix(runtime): fix bad assertion failure in JSBufferList
* ok
* stuff
* upgrade webkit
* Update src/bun.js/bindings/JSDOMWrapperCache.h
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com>
* fix message for colin's changes
* okay
* fix cjs prototype
* implement mainModule
* i think this fixes it all
---------
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com>
Diffstat (limited to 'test/js/node')
-rw-r--r-- | test/js/node/process/print-process-args.js | 4 | ||||
-rw-r--r-- | test/js/node/vm/vm.test.ts | 3 |
2 files changed, 2 insertions, 5 deletions
diff --git a/test/js/node/process/print-process-args.js b/test/js/node/process/print-process-args.js index e9d2295c8..c34c1b231 100644 --- a/test/js/node/process/print-process-args.js +++ b/test/js/node/process/print-process-args.js @@ -3,8 +3,8 @@ import assert from "assert"; // ensure process.argv and Bun.argv are the same assert.deepStrictEqual(process.argv, Bun.argv, "process.argv does not equal Bun.argv"); assert(process.argv === process.argv, "process.argv isn't cached"); -// assert(Bun.argv === Bun.argv, 'Bun.argv isn\'t cached'); -// assert(Bun.argv === process.argv, 'Bun.argv doesnt share same ref as process.argv'); +assert(Bun.argv === Bun.argv, "Bun.argv isn't cached"); +// assert(Bun.argv === process.argv, "Bun.argv doesnt share same ref as process.argv"); var writer = Bun.stdout.writer(); writer.write(JSON.stringify(process.argv)); diff --git a/test/js/node/vm/vm.test.ts b/test/js/node/vm/vm.test.ts index 79becfed0..4e291ac9f 100644 --- a/test/js/node/vm/vm.test.ts +++ b/test/js/node/vm/vm.test.ts @@ -18,7 +18,6 @@ describe("Script", () => { describe("runInContext()", () => { testRunInContext( (code, context, options) => { - // @ts-expect-error const script = new Script(code, options); return script.runInContext(context); }, @@ -28,7 +27,6 @@ describe("Script", () => { describe("runInNewContext()", () => { testRunInContext( (code, context, options) => { - // @ts-expect-error const script = new Script(code, options); return script.runInNewContext(context); }, @@ -37,7 +35,6 @@ describe("Script", () => { }); describe("runInThisContext()", () => { testRunInContext((code, context, options) => { - // @ts-expect-error const script = new Script(code, options); return script.runInThisContext(context); }); |