Skip to content

Commit

Permalink
test: fix lint error on assert.expect()
Browse files Browse the repository at this point in the history
  • Loading branch information
MrChocolatine committed Nov 4, 2023
1 parent d55147f commit ea459fb
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/acceptance/change-flag-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -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'])
})
})

0 comments on commit ea459fb

Please sign in to comment.