-
-
Notifications
You must be signed in to change notification settings - Fork 259
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Work around issue with ember-cli calling Testem.hookIntoTestFramework
This is normally handled for folks by ember-qunit, but @ember/test-helpers has to handle it for itself. We need to get this fixed over in ember-cli...
- Loading branch information
Showing
3 changed files
with
21 additions
and
1 deletion.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
/** globals runningTests */ | ||
/* | ||
used to determine if the application should be booted immediately when `app-name.js` is evaluated | ||
when `runningTests` the `app-name.js` file will **not** import the applications `app/app.js` and | ||
call `Application.create(...)` on it. Additionally, applications can opt-out of this behavior by | ||
setting `autoRun` to `false` in their `ember-cli-build.js` | ||
*/ | ||
runningTests = true; | ||
|
||
/* | ||
This file overrides a file built into ember-cli's build pipeline and prevents | ||
this built-in `Testem.hookIntoTestFramework` invocation: | ||
https://github.com/ember-cli/ember-cli/blob/v3.20.0/lib/broccoli/test-support-suffix.js#L3-L5 | ||
*/ |
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