Debian Codegraph @

test/integration/fixtures/multiple-runs/run-thrice-helper.js

raw
1 module.exports = function (mocha) {
2 mocha.addFile(require.resolve('./multiple-runs-with-different-output-suite.fixture.js'));
3 console.log('[');
4 try {
5 mocha.run(() => {
6 console.log(',');
7 try {
8 mocha.run(() => {
9 console.log(',');
10 mocha.run(() => {
11 console.log(']');
12 });
13 });
14 } catch (err) {
15 console.error(err.code);
16 throw err;
17 }
18 });
19 } catch (err) {
20 console.error(err.code);
21 throw err;
22 }
23
24 }