From ea459fb79cc4bcb7476aaca36075f84189e394b2 Mon Sep 17 00:00:00 2001 From: MrChocolatine <47531779+MrChocolatine@users.noreply.github.com> Date: Sat, 4 Nov 2023 13:27:11 +0000 Subject: [PATCH] test: fix lint error on `assert.expect()` --- tests/acceptance/change-flag-test.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/acceptance/change-flag-test.js b/tests/acceptance/change-flag-test.js index 011f9e7..1f2e734 100644 --- a/tests/acceptance/change-flag-test.js +++ b/tests/acceptance/change-flag-test.js @@ -95,13 +95,13 @@ module('Acceptance | change flag', function (hooks) { }) test('it reloads page when clicking on a reloadable feature flag', async function (assert) { - assert.expect(1) - windowUtil.reload = function () { - assert.ok(true, 'Reload function is called') + assert.step('Reload function is called') } await visit('/__features') await click('[data-test-checkbox-flag=showBacon]') + + assert.verifySteps(['Reload function is called']) }) })