Skip to content
This repository was archived by the owner on Aug 2, 2024. It is now read-only.

Commit dbeb57f

Browse files
committed
Tweak ember-qunit config
Following [migration](https://github.com/emberjs/ember-qunit/blob/master/docs/migration.md) steps `4.x` -> `5.x`
1 parent e25666c commit dbeb57f

File tree

2 files changed

+11
-0
lines changed

2 files changed

+11
-0
lines changed

tests/index.html

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,13 @@
2121
{{content-for "body"}}
2222
{{content-for "test-body"}}
2323

24+
<div id="qunit"></div>
25+
<div id="qunit-fixture">
26+
<div id="ember-testing-container">
27+
<div id="ember-testing"></div>
28+
</div>
29+
</div>
30+
2431
<script src="/testem.js" integrity=""></script>
2532
<script src="{{rootURL}}assets/vendor.js"></script>
2633
<script src="{{rootURL}}assets/test-support.js"></script>

tests/test-helper.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@ import Application from 'dummy/app';
22
import config from 'dummy/config/environment';
33
import { setApplication } from '@ember/test-helpers';
44
import { start } from 'ember-qunit';
5+
import * as QUnit from 'qunit';
6+
import { setup } from 'qunit-dom';
7+
8+
setup(QUnit.assert);
59

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

0 commit comments

Comments
 (0)