☕️ Classic, reliable, trusted test framework for Node.js and the browser
rename `mocha init` tests.html to index.html
TJ Holowaychuk24754b836a01
diff --git a/bin/_mocha b/bin/_mochaindex d1187405..c16ea7b0 100755--- a/bin/_mocha+++ b/bin/_mocha@@ -93,7 +93,8 @@ programvar tmpl = fs.readFileSync(join(__dirname, '..', 'lib/template.html'));fs.writeFileSync(join(path, 'mocha.css'), css);fs.writeFileSync(join(path, 'mocha.js'), js);- fs.writeFileSync(join(path, 'tests.html'), tmpl);+ fs.writeFileSync(join(path, 'tests.js'), '');+ fs.writeFileSync(join(path, 'index.html'), tmpl);process.exit(0);});