Skip to content

Commit

Permalink
Merge pull request #919 from ijlee2/clarify-migration-guide-to-v5.x
Browse files Browse the repository at this point in the history
Clarified how to update tests/test-helper.js when migrating ember-qunit to v5.x
  • Loading branch information
Turbo87 authored Dec 7, 2020
2 parents 18e6ea1 + ce49fd6 commit c0258cc
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,16 +43,21 @@ Import and run the `setup` function in your `test-helper.js` file:

```js
// tests/test-helper.js
import * as QUnit from 'qunit';
import { setup } from 'qunit-dom';

//...

setup(QUnit.assert);

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

start();

//...
```

this will attach the APIs to QUnit's `assert` object.
This will attach the APIs to QUnit's `assert` object.

### Ember projects using `ember-qunit` v4.x and below

Expand Down

0 comments on commit c0258cc

Please sign in to comment.