-
-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Converting signature in TestWaiter.beginAsync to take a Token
- Loading branch information
Showing
15 changed files
with
350 additions
and
128 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,29 +1,8 @@ | ||
import QUnit from 'qunit'; | ||
import AbstractTestLoader from 'ember-cli-test-loader/test-support/index'; | ||
import Application from '../app'; | ||
import config from '../config/environment'; | ||
import { setApplication } from '@ember/test-helpers'; | ||
import { start } from 'ember-qunit'; | ||
|
||
let moduleLoadFailures = []; | ||
setApplication(Application.create(config.APP)); | ||
|
||
QUnit.done(function() { | ||
if (moduleLoadFailures.length) { | ||
throw new Error('\n' + moduleLoadFailures.join('\n')); | ||
} | ||
}); | ||
|
||
class TestLoader extends AbstractTestLoader { | ||
moduleLoadFailure(moduleName, error) { | ||
moduleLoadFailures.push(error); | ||
|
||
QUnit.module('TestLoader Failures'); | ||
QUnit.test(moduleName + ': could not be loaded', function() { | ||
throw error; | ||
}); | ||
} | ||
} | ||
|
||
new TestLoader().loadModules(); | ||
|
||
QUnit.testDone(function() { | ||
let testElementContainer = document.getElementById('ember-testing-container'); | ||
let testElementReset = testElementContainer.outerHTML; | ||
testElementContainer.innerHTML = testElementReset; | ||
}); | ||
start(); |
Oops, something went wrong.