Skip to content

Commit 1cacb9b

Browse files
authored
Update setup example for new qunit requirements
`setupEmberOnerrorValidation` was added to the Vite setup instructions in #1313 but missed for the normal setup guide. This is required as of ember-qunit v9, I believe.
1 parent aed7f1b commit 1cacb9b

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,9 @@ To get the unique features of Ember Exam (described in-depth below), you will ne
7272

7373
```js
7474
// test-helper.js
75-
import { start } from 'ember-exam/test-support';
75+
- import { start, setupEmberOnerrorValidation } from 'ember-qunit';
76+
+ import { setupEmberOnerrorValidation } from 'ember-qunit';
77+
+ import { start } from 'ember-exam/test-support';
7678

7779
// Options passed to `start` will be passed-through to ember-qunit
7880
start();

0 commit comments

Comments
 (0)