Skip to content

Commit

Permalink
tests failing, updated app portal for ember-qunit reqs
Browse files Browse the repository at this point in the history
  • Loading branch information
horatiorosa committed Jun 16, 2023
1 parent 606aa30 commit 8e57402
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 2 deletions.
2 changes: 1 addition & 1 deletion client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@
"tracked-maps-and-sets": "^2.1.0"
},
"engines": {
"node": "10.* || >= ^16.*"
"node": "^10.* ||^14.* || ^16.*"
},
"ember": {
"edition": "octane"
Expand Down
7 changes: 7 additions & 0 deletions client/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 type="text/javascript">
function setGetParam(key, value) {
if (history.pushState) {
Expand Down
6 changes: 5 additions & 1 deletion client/tests/test-helper.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
import { setApplication } from '@ember/test-helpers';
import * as QUnit from 'qunit';
import { setup } from 'qunit-dom';
import { start } from 'ember-qunit';
import config from 'client/config/environment';
import Application from '../app';
import config from '../config/environment';

setup(QUnit.assert);

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

Expand Down

0 comments on commit 8e57402

Please sign in to comment.