How to use the ember-exam/test-support/load function in ember-exam

To help you get started, we’ve selected a few ember-exam examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github ember-cli / ember-exam / addon-test-support / start.js View on Github external
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);
  }
}

ember-exam

Run your tests with randomization, splitting, and parallelization for beautiful tests.

MIT
Latest version published 11 months ago

Package Health Score

74 / 100
Full package analysis