Skip to content

Commit 3171614

Browse files
committed
test: remove 2s timeout
1 parent 9e276c3 commit 3171614

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/nuxt/a11y.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1978,7 +1978,7 @@ describe('background theme accessibility', () => {
19781978
it(`${colorMode}/${bgTheme}`, async () => {
19791979
applyTheme(colorMode, bgTheme)
19801980
const results = await runAxe(await mount())
1981-
await new Promise(resolve => setTimeout(resolve, 2000))
1981+
await nextTick()
19821982
expect(results.violations).toEqual([])
19831983
})
19841984
}

0 commit comments

Comments
 (0)