Skip to content

Commit a5b4a45

Browse files
authored
Merge pull request #914 from ember-learn/fix-require-expect
fix require-expect lint
2 parents b1f4e53 + f2f61be commit a5b4a45

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

Diff for: tests/acceptance/switch-project-test.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
/* eslint-disable qunit/require-expect */
21
import { module, test } from 'qunit';
32
import { setupApplicationTest } from 'ember-qunit';
43
import {
@@ -31,6 +30,7 @@ module('Acceptance | Switch Project', function (hooks) {
3130
setupApplicationTest(hooks);
3231

3332
test('Can switch projects back and forth', async function (assert) {
33+
assert.expect(9);
3434
await visit('/');
3535

3636
await click('.spec-ember-data');
@@ -47,6 +47,7 @@ module('Acceptance | Switch Project', function (hooks) {
4747
});
4848

4949
test('Can open class after switching projects back and forth', async function (assert) {
50+
assert.expect(10);
5051
await visit('/');
5152
await ensureVersionsExist(assert);
5253
assert.dom(find('.spec-ember')).hasClass('active');

Diff for: tests/integration/components/class-field-description-test.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
/* eslint-disable qunit/require-expect */
21
import EmberObject from '@ember/object';
32
import { module, test } from 'qunit';
43
import { setupRenderingTest } from 'ember-qunit';
@@ -61,6 +60,7 @@ module('Integration | Component | class field description', function (hooks) {
6160
});
6261

6362
test('it calls the provided action on link-click with the field name as an arg', async function (assert) {
63+
assert.expect(3);
6464
this.set('updateAnchor', (name) => {
6565
assert.equal(
6666
name,

0 commit comments

Comments
 (0)