Normally a ChangeLog is generated at "make dist" time and available in source tarballs. If not, see the Git commit log at <http://git.sv.gnu.org/cgit/guix.git/>.
var Mocha = require('mocha'), fs = require('fs'), path = require('path'); // Instantiate a Mocha instance. var mocha = new Mocha({}); var testDir = __dirname + '/mocha/'; // Add each .js file to the mocha instance fs.readdirSync(testDir).filter(function(file){ // Only keep the .js files return file.substr(-3) === '.js'; }).forEach(function(file){ mocha.addFile( path.join(testDir, file) ); }); module.exports = function() { mocha.run(function(failures) { if (failures !== 0) { process.on('exit', function () { process.exit(failures); }); } }); };1a15f7e998c62a0d480941dbd08085'/>
aboutsummaryrefslogtreecommitdiff |
Normally a ChangeLog is generated at "make dist" time and available in source tarballs. If not, see the Git commit log at <http://git.sv.gnu.org/cgit/guix.git/>.