We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bb11522 commit 1f009a7Copy full SHA for 1f009a7
bin/asinit.js
@@ -430,12 +430,12 @@ function ensureTestsIndexJs() {
430
console.log("- Making sure that 'test/index.js' exists...");
431
if (!fs.existsSync(testsIndexFile)) {
432
fs.writeFileSync(testsIndexFile, [
433
- "import assert from \"node:assert\";",
+ "import assert from \"node:assert/strict\";",
434
"import { it } from \"node:test\";",
435
"import { add } from \"../build/debug.js\";",
436
"",
437
"it(\"add\", () => {",
438
- " assert.strictEqual(add(1, 2), 3);",
+ " assert.equal(add(1, 2), 3);",
439
"});"
440
].join("\n") + "\n");
441
console.log(stdoutColors.green(" Created: ") + testsIndexFile);
0 commit comments