From f2f61be485f23c84f02ad1467824d49dffa75bdd Mon Sep 17 00:00:00 2001 From: Chris Manson Date: Fri, 5 Jul 2024 13:46:55 +0100 Subject: [PATCH] fix require-expect lint --- tests/acceptance/switch-project-test.js | 3 ++- tests/integration/components/class-field-description-test.js | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/tests/acceptance/switch-project-test.js b/tests/acceptance/switch-project-test.js index 36a582ed..3a25e5ea 100644 --- a/tests/acceptance/switch-project-test.js +++ b/tests/acceptance/switch-project-test.js @@ -1,4 +1,3 @@ -/* eslint-disable qunit/require-expect */ import { module, test } from 'qunit'; import { setupApplicationTest } from 'ember-qunit'; import { @@ -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'); @@ -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'); diff --git a/tests/integration/components/class-field-description-test.js b/tests/integration/components/class-field-description-test.js index 4657ab15..7bb0a927 100644 --- a/tests/integration/components/class-field-description-test.js +++ b/tests/integration/components/class-field-description-test.js @@ -1,4 +1,3 @@ -/* eslint-disable qunit/require-expect */ import EmberObject from '@ember/object'; import { module, test } from 'qunit'; import { setupRenderingTest } from 'ember-qunit'; @@ -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,