Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade ember-qunit to the v5 style of tests, using the highest suppo… #1574

Open
wants to merge 7 commits into
base: master
Choose a base branch
from
Open
20 changes: 13 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,9 @@
"walk-sync": "^2.2.0"
},
"devDependencies": {
"ember-auto-import": "^2.6.3",
"@ember/optional-features": "2.0.0",
"@ember/test-helpers": "^2.9.4",
"@glimmer/component": "^1.1.2",
"@glimmer/tracking": "^1.1.2",
"@release-it-plugins/lerna-changelog": "^5.0.0",
Expand All @@ -64,15 +66,15 @@
"@types/console-ui": "2.2.6",
"@types/core-object": "3.0.1",
"@types/debug": "4.1.7",
"@types/ember": "4.0.1",
"@types/ember-qunit": "5.0.0",
"@types/ember": "4.0.6",
"@types/ember-resolver": "^5.0.13",
"@types/esprima": "4.0.3",
"@types/express": "4.17.13",
"@types/fs-extra": "9.0.13",
"@types/got": "9.6.12",
"@types/mocha": "10.0.0",
"@types/node": "14.14.31",
"@types/qunit": "2.19.3",
"@types/qunit": "2.19.6",
"@types/resolve": "1.20.1",
"@types/semver": "7.3.9",
"@typescript-eslint/eslint-plugin": "5.10.1",
Expand All @@ -96,10 +98,11 @@
"ember-export-application-global": "2.0.1",
"ember-load-initializers": "2.1.2",
"ember-maybe-import-regenerator": "0.1.6",
"ember-qunit": "4.6.0",
"ember-qunit": "^5.0.0",
"ember-resolver": "8.0.2",
"ember-source": "~3.28.0",
"ember-try": "1.4.0",
"ember-source-channel-url": "^3.0.0",
"ember-try": "3.0.0",
"eslint": "8.7.0",
"eslint-config-prettier": "8.3.0",
"eslint-plugin-ember": "10.5.8",
Expand All @@ -115,16 +118,19 @@
"mocha": "10.1.0",
"prettier": "2.5.1",
"prettier-eslint": "13.0.0",
"qunit": "^2.20.0",
"qunit-dom": "1.6.0",
"release-it": "^15.5.0",
"rimraf": "3.0.2",
"testdouble": "3.16.1",
"ts-node": "^10.9.1",
"typescript": "4.8"
"typescript": "4.8",
"webpack": "^5.88.2"
},
"resolutions": {
"hawk": "7",
"ember-cli-typescript": "link:."
"ember-cli-typescript": "link:.",
"ember-auto-import": "^2.6.3"
},
"engines": {
"node": ">= 12.*"
Expand Down
4 changes: 3 additions & 1 deletion test-fixtures/skeleton-app/package.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,15 @@
{
"name": "skeleton-app",
"devDependencies": {
"ember-auto-import": "*",
"ember-cli": "*",
"ember-cli-htmlbars": "*",
"ember-cli-babel": "*",
"ember-source": "*",
"ember-qunit": "*",
"loader.js": "*",
"typescript": "*"
"typescript": "*",
"webpack": "*"
},
"ember-addon": {
"paths": [".."]
Expand Down
7 changes: 7 additions & 0 deletions tests/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,13 @@
{{content-for "body"}}
{{content-for "test-body"}}

<div id="qunit"></div>
<div id="qunit-fixture">
<div id="ember-testing-container">
<div id="ember-testing"></div>
</div>
</div>

<script src="/testem.js" integrity=""></script>
<script src="{{rootURL}}assets/vendor.js"></script>
<script src="{{rootURL}}assets/test-support.js"></script>
Expand Down
Loading
Loading