Skip to content

Commit

Permalink
Remove auto-loading functionality
Browse files Browse the repository at this point in the history
  • Loading branch information
trentmwillis committed Nov 3, 2017
1 parent 8f60a22 commit 6f31ac2
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 22 deletions.
9 changes: 3 additions & 6 deletions addon-test-support/load.js
Expand Up @@ -4,12 +4,11 @@ import patchTestemOutput from './-private/patch-testem-output';

let loaded = false;

const ALREADY_LOADED = 1;
const LOAD_SUCCESS = 0;

export default function loadEmberExam() {
if (loaded) {
return ALREADY_LOADED;
// eslint-disable-next-line no-console
console.warn('Attempted to load Ember Exam more than once.');
return;
}

loaded = true;
Expand All @@ -20,6 +19,4 @@ export default function loadEmberExam() {
if (window.Testem) {
patchTestemOutput(TestLoader);
}

return LOAD_SUCCESS;
}
4 changes: 0 additions & 4 deletions index.js
Expand Up @@ -7,9 +7,5 @@ module.exports = {

includedCommands: function() {
return require('./lib/commands');
},

included: function(app) {
app.import('vendor/ember-exam/test-loader.js', { type: 'test' });
}
};
6 changes: 0 additions & 6 deletions vendor/.eslintrc

This file was deleted.

6 changes: 0 additions & 6 deletions vendor/ember-exam/test-loader.js

This file was deleted.

0 comments on commit 6f31ac2

Please sign in to comment.