Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
export default function start(qunitOptions) {
const framework = require.has('ember-qunit') ? 'qunit' : 'mocha';
const modifiedOptions = qunitOptions || Object.create(null);
modifiedOptions.loadTests = false;
const testLoader = loadEmberExam();
loadTests(testLoader);
const emberTestFramework = require(`ember-${framework}`);
if (emberTestFramework.start) {
emberTestFramework.start(modifiedOptions);
}
}