Skip to content

Commit

Permalink
Merge pull request #914 from ember-learn/fix-require-expect
Browse files Browse the repository at this point in the history
fix require-expect lint
  • Loading branch information
mansona authored Jul 5, 2024
2 parents b1f4e53 + f2f61be commit a5b4a45
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion tests/acceptance/switch-project-test.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
/* eslint-disable qunit/require-expect */
import { module, test } from 'qunit';
import { setupApplicationTest } from 'ember-qunit';
import {
Expand Down Expand Up @@ -31,6 +30,7 @@ module('Acceptance | Switch Project', function (hooks) {
setupApplicationTest(hooks);

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

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

test('Can open class after switching projects back and forth', async function (assert) {
assert.expect(10);
await visit('/');
await ensureVersionsExist(assert);
assert.dom(find('.spec-ember')).hasClass('active');
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
/* eslint-disable qunit/require-expect */
import EmberObject from '@ember/object';
import { module, test } from 'qunit';
import { setupRenderingTest } from 'ember-qunit';
Expand Down Expand Up @@ -61,6 +60,7 @@ module('Integration | Component | class field description', function (hooks) {
});

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

0 comments on commit a5b4a45

Please sign in to comment.