Skip to content

Commit 0ce07dc

Browse files
committed
Update blueprint for ember-qunit 9.x
We have a [pending breaking change in ember-qunit](emberjs/ember-qunit#1182) that would become ember-qunit 9.0.0. I'm opening this draft PR so people can review what the impact would be on the blueprint.
1 parent 872b500 commit 0ce07dc

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

blueprints/app/files/tests/test-helper.ts

+4-2
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,12 @@ import config from '<%= modulePrefix %>/config/environment';
33
import * as QUnit from 'qunit';
44
import { setApplication } from '@ember/test-helpers';
55
import { setup } from 'qunit-dom';
6-
import { start } from 'ember-qunit';
6+
import { loadTests } from 'ember-qunit/test-loader';
7+
import { start, setupEmberOnerrorValidation } from 'ember-qunit';
78

89
setApplication(Application.create(config.APP));
910

1011
setup(QUnit.assert);
11-
12+
setupEmberOnerrorValidation();
13+
loadTests();
1214
start();

0 commit comments

Comments
 (0)