aboutsummaryrefslogtreecommitdiff
path: root/test/js/node
diff options
context:
space:
mode:
Diffstat (limited to 'test/js/node')
-rw-r--r--test/js/node/process/print-process-args.js4
-rw-r--r--test/js/node/vm/vm.test.ts3
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);
});