Skip to content

Commit a96d017

Browse files
committed
rename index.test.js to index.js
1 parent b5cacdf commit a96d017

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

bin/asinit.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ const gitignoreFile = path.join(buildDir, ".gitignore");
105105
const packageFile = path.join(projectDir, "package.json");
106106

107107
const indexHtmlFile = path.join(projectDir, "index.html");
108-
const testsIndexFile = path.join(testsDir, "index.test.js");
108+
const testsIndexFile = path.join(testsDir, "index.js");
109109

110110
const paths = [
111111
[assemblyDir, "Directory holding the AssemblyScript sources being compiled to WebAssembly."],
@@ -427,7 +427,7 @@ function ensureTestsDirectory() {
427427
}
428428

429429
function ensureTestsIndexJs() {
430-
console.log("- Making sure that 'test/index.test.js' exists...");
430+
console.log("- Making sure that 'test/index.js' exists...");
431431
if (!fs.existsSync(testsIndexFile)) {
432432
fs.writeFileSync(testsIndexFile, [
433433
"import assert from \"node:assert\";",

0 commit comments

Comments
 (0)