repl.it
@joshuatz/

Chai Array Does Not Include Any Members

Nodejs

No description

fork
loading
Files
  • index.js
  • broken.js
  • package-lock.json
  • package.json
  • working.js
index.js
1
2
3
4
5
6
7
8
9
10
11
12
13
const Mocha = require('mocha')
const runner = new Mocha({});

runner.addFile('./broken.js');
runner.addFile('./working.js');

runner.run(failures => {
  if (failures) {
    console.error(failures)
  } else {
    console.log('All passed.')
  }
});
node v10.16.0