File tree 3 files changed +7
-3
lines changed
3 files changed +7
-3
lines changed Original file line number Diff line number Diff line change 1
- node_modules /
1
+ node_modules /
2
+ # for local testing in the same directory
3
+ my-app /
Original file line number Diff line number Diff line change @@ -3,12 +3,13 @@ import config from '<%= name %>/config/environment';
3
3
import * as QUnit from 'qunit' ;
4
4
import { setApplication } from '@ember/test-helpers' ;
5
5
import { setup } from 'qunit-dom' ;
6
- import { start as qunitStart } from 'ember-qunit' ;
6
+ import { start as qunitStart , setupEmberOnerrorValidation } from 'ember-qunit' ;
7
7
8
8
export function start ( ) {
9
9
setApplication ( Application . create ( config . APP ) ) ;
10
10
11
11
setup ( QUnit . assert ) ;
12
+ setupEmberOnerrorValidation ( ) ;
12
13
13
14
qunitStart ( { loadTests : false } ) ;
14
15
}
Original file line number Diff line number Diff line change @@ -3,12 +3,13 @@ import config from '<%= name %>/config/environment';
3
3
import * as QUnit from 'qunit' ;
4
4
import { setApplication } from '@ember/test-helpers' ;
5
5
import { setup } from 'qunit-dom' ;
6
- import { start as qunitStart } from 'ember-qunit' ;
6
+ import { start as qunitStart , setupEmberOnerrorValidation } from 'ember-qunit' ;
7
7
8
8
export function start ( ) {
9
9
setApplication ( Application . create ( config . APP ) ) ;
10
10
11
11
setup ( QUnit . assert ) ;
12
+ setupEmberOnerrorValidation ( ) ;
12
13
13
14
qunitStart ( ) ;
14
15
}
You can’t perform that action at this time.
0 commit comments