☕️ Classic, reliable, trusted test framework for Node.js and the browser
'use strict';
const Mocha = require('../../../../lib/mocha.cjs');
const mocha = new Mocha({ reporter: 'json' });
mocha.cleanReferencesAfterRun(false);
mocha.addFile(require.resolve('./multiple-runs-with-flaky-before-each-suite.fixture.js'));
console.log('[');
mocha.run(() => {
console.log(',');
mocha.run(() => {
console.log(']');
});
});