Skip to content

Commit 898ecfe

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 f37e39b commit 898ecfe

File tree

3 files changed

+1066
-955
lines changed

3 files changed

+1066
-955
lines changed

blueprints/app/files/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@
7272
"ember-load-initializers": "^3.0.1",
7373
"ember-modifier": "^4.2.0",
7474
"ember-page-title": "^8.2.3",
75-
"ember-qunit": "^8.1.1",
75+
"ember-qunit": "^9.0.0",
7676
"ember-resolver": "^13.0.2",
7777
"ember-source": "~6.1.0-beta.1",
7878
"ember-template-imports": "^4.2.0",

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)