How to use ember-exam - 2 common examples

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 / vendor / ember-exam / test-loader.js View on Github external
document.addEventListener('DOMContentLoaded', function() {
  if (!require('ember-exam/test-support/load').default()) {
    console.warn('DEPRECATION: ember-exam was auto-loaded on DOMContentLoaded. This method of loading is not recommended and will be removed in the next release. Use the `loadEmberExam` method instead. See http://bit.ly/2yqVGDC for more info.');
  }
});
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 4 months ago

Package Health Score

77 / 100
Full package analysis