Skip to content

Commit

Permalink
Merge pull request #956 from bmish/no-test-module-for-docs-add-imports
Browse files Browse the repository at this point in the history
Add imports in `no-test-module-for` rule doc
  • Loading branch information
bmish authored Sep 24, 2020
2 parents 253f17f + 6781d70 commit 9f04b3c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions docs/rules/no-test-module-for.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,16 @@ Use `module` instead of `moduleFor`.
Examples of **incorrect** code for this rule:

```js
import { moduleFor } from 'ember-qunit';

moduleFor('Test Name');
```

Examples of **correct** code for this rule:

```js
import { module } from 'qunit';

module('Test Name', function (hooks) {
// ...
});
Expand Down

0 comments on commit 9f04b3c

Please sign in to comment.