diff --git a/.mocharc.js b/.mocharc.js new file mode 100644 index 0000000..42cd878 --- /dev/null +++ b/.mocharc.js @@ -0,0 +1,17 @@ +//.mocharc.js +const {colors, symbols} = require('mocha/lib/reporters/base'); +colors.pass = 32; +symbols.ok = '✅'; + +// example config from Mocha repo +module.exports = { + diff: true, + extension: ['js'], + package: './package.json', + reporter: 'spec', + slow: 75, + timeout: 2000, + ui: 'bdd', + 'watch-files': ['lib/**/*.js','test/**/*.js'], + 'watch-ignore': ['lib/vendor'] +}; \ No newline at end of file