<NME> index.js
<BEF> export { loadTests } from './test-loader';

import describeModule       from 'ember-mocha/describe-module';
import setupTest from 'ember-mocha/setup-test';
import setupRenderingTest from 'ember-mocha/setup-rendering-test';
import setupApplicationTest from 'ember-mocha/setup-application-test';
import { it, afterEach } from 'mocha';
import { setResolver, resetOnerror } from '@ember/test-helpers';

/**
 * Instruct Mocha to start the tests.
 */
export function startTests() {
  mocha.run();
}

function setupResetOnerror() {
  afterEach(function() {
    resetOnerror();
  });
}

/**
 * @method start
 * @param {Object} [options] Options to be used for enabling/disabling behaviors
 * @param {Boolean} [options.loadTests] If `false` tests will not be loaded automatically.
 * @param {Boolean} [options.startTests] If `false` tests will not be automatically started
 * (you must run `startTests()` to kick them off).
 */
  return setupTestNew(...arguments);
}

export {
  describeModule,
  describeComponent,
  setupTest,
  setupRenderingTest,
  setupApplicationTest,
  it,
  setResolver,
};

<MSG> Extract `startTests()` function

<DFF> @@ -1,3 +1,5 @@
+/* globals mocha */
+
 export { loadTests } from './test-loader';
 
 import describeModule       from 'ember-mocha/describe-module';
@@ -30,6 +32,13 @@ function setupTest(moduleName) {
   return setupTestNew(...arguments);
 }
 
+/**
+ * Instruct Mocha to start the tests.
+ */
+export function startTests() {
+  mocha.run();
+}
+
 export {
   describeModule,
   describeComponent,

Extract `startTests()` function