Skip to content

Commit

Permalink
Update dependency ember-qunit to v5 (#90)
Browse files Browse the repository at this point in the history
* Update dependency ember-qunit to v5
* adjust setup for ember-qunit v5 and upgrade qunit-dom
* yarn upgrade

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Jeldrik Hanschke <admin@jhanschke.de>
  • Loading branch information
3 people committed Oct 27, 2021
1 parent db5e182 commit 585f813
Show file tree
Hide file tree
Showing 4 changed files with 2,062 additions and 2,847 deletions.
6 changes: 4 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
},
"devDependencies": {
"@ember/optional-features": "^2.0.0",
"@ember/test-helpers": "^2.5.0",
"@glimmer/component": "^1.0.1",
"@glimmer/tracking": "^1.0.1",
"babel-eslint": "^10.1.0",
Expand All @@ -43,7 +44,7 @@
"ember-export-application-global": "^2.0.1",
"ember-load-initializers": "^2.1.1",
"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.22.0",
"ember-source-channel-url": "^3.0.0",
Expand All @@ -57,7 +58,8 @@
"loader.js": "^4.7.0",
"npm-run-all": "^4.1.5",
"prettier": "^2.0.0",
"qunit-dom": "^1.4.0",
"qunit": "^2.17.2",
"qunit-dom": "^2.0.0",
"release-it": "^14.0.0",
"release-it-lerna-changelog": "^4.0.0"
},
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
4 changes: 4 additions & 0 deletions tests/test-helper.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,12 @@
import Application from 'dummy/app';
import config from 'dummy/config/environment';
import * as QUnit from 'qunit';
import { setApplication } from '@ember/test-helpers';
import { setup } from 'qunit-dom';
import { start } from 'ember-qunit';

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

setup(QUnit.assert);

start();
Loading

0 comments on commit 585f813

Please sign in to comment.