Skip to content

Commit b6553eb

Browse files
committed
test: switch from deprecated vitest syntax
1 parent c307faa commit b6553eb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/nuxt-cli/test/e2e/commands.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ describe('commands', () => {
7979
})
8080

8181
const testsToRun = Object.entries(tests).filter(([_, value]) => value !== 'todo')
82-
it.each(testsToRun)(`%s`, (_, test) => (test as () => Promise<void>)(), { timeout: isWindows ? 200000 : 50000 })
82+
it.each(testsToRun)(`%s`, { timeout: isWindows ? 200000 : 50000 }, (_, test) => (test as () => Promise<void>)())
8383

8484
for (const [command, value] of Object.entries(tests)) {
8585
if (value === 'todo') {

0 commit comments

Comments
 (0)