File tree 3 files changed +23
-1
lines changed
3 files changed +23
-1
lines changed Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ module.exports = function (defaults) {
9
9
testGenerator : 'qunit' ,
10
10
} ,
11
11
trees : {
12
- vendor : null ,
12
+ vendor : 'tests/dummy/vendor' ,
13
13
} ,
14
14
} ;
15
15
Original file line number Diff line number Diff line change
1
+ // eslint-disable-next-line no-unused-vars
2
+ /* global runningTests: true */
3
+
4
+ /*
5
+ used to determine if the application should be booted immediately when `app-name.js` is evaluated
6
+ when `runningTests` the `app-name.js` file will **not** import the applications `app/app.js` and
7
+ call `Application.create(...)` on it. Additionally, applications can opt-out of this behavior by
8
+ setting `autoRun` to `false` in their `ember-cli-build.js`
9
+ */
10
+ runningTests = true ;
11
+
12
+ /*
13
+ This file overrides a file built into ember-cli's build pipeline and prevents
14
+ this built-in `Testem.hookIntoTestFramework` invocation:
15
+
16
+ https://github.com/ember-cli/ember-cli/blob/v3.20.0/lib/broccoli/test-support-suffix.js#L3-L5
17
+ */
Original file line number Diff line number Diff line change
1
+ /* globals Testem */
1
2
import QUnit from 'qunit' ;
2
3
import { registerDeprecationHandler } from '@ember/debug' ;
3
4
import AbstractTestLoader from 'ember-cli-test-loader/test-support/index' ;
@@ -125,3 +126,7 @@ QUnit.assert.deprecationsInclude = function (expected) {
125
126
} ;
126
127
127
128
QUnit . start ( ) ;
129
+
130
+ if ( typeof Testem !== 'undefined' ) {
131
+ Testem . hookIntoTestFramework ( ) ;
132
+ }
You can’t perform that action at this time.
0 commit comments