Comparing version 0.0.40 to 0.0.41
12
main.js
@@ -37,17 +37,7 @@ var sinon = require('sinon'); | ||
var ext = ".es5"; | ||
testFiles.forEach(function(file) { | ||
fs.writeFileSync(file + ext, | ||
injection + | ||
fs.readFileSync(file) | ||
); | ||
mocha.addFile(file + ext); | ||
mocha.addFile(file); | ||
}); | ||
mocha.run(function(errs) { | ||
done(errs === 0); | ||
testFiles.forEach(function(file) { | ||
fs.unlinkSync(file + ext); | ||
}); | ||
}); | ||
@@ -54,0 +44,0 @@ }, |
{ | ||
"name": "affogato", | ||
"version": "0.0.40", | ||
"version": "0.0.41", | ||
"description": "Enable ES6 support for mocha tests under jsdom.", | ||
@@ -5,0 +5,0 @@ "engines": { |
14172
5
37