Skip to content

armgit / mocha

Public Imported from GitHub
0

☕️ Classic, reliable, trusted test framework for Node.js and the browser

move support/template.html to lib/template.html

TJ Holowaychuke8ea7afdb318
diff --git a/bin/_mocha b/bin/_mocha
index ceefbb23..b9d0a2bd 100755
--- a/bin/_mocha
+++ b/bin/_mocha
@@ -88,7 +88,7 @@ program
.action(function(path){
var css = fs.readFileSync(join(__dirname, '..', 'mocha.css'));
var js = fs.readFileSync(join(__dirname, '..', 'mocha.js'));
- var tmpl = fs.readFileSync(join(__dirname, '..', 'support/template.html'));
+ var 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);
diff --git a/support/template.html b/lib/template.html
similarity index 100%
rename from support/template.html
rename to lib/template.html