Skip to content

Commit f17c1af

Browse files
committed
Fix Vitest warning
Using an object as a third argument is deprecated. Vitest 4 will throw an error if the third argument is not a timeout number. Please use the second argument for options. See more at https://vitest.dev/guide/migration
1 parent 03b71be commit f17c1af

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/integration/live-api.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -588,6 +588,7 @@ describe('API integration', { timeout: 60000 }, () => {
588588

589589
describe(
590590
'assembly notification',
591+
{ retry: 2 },
591592
() => {
592593
type OnNotification = (params: {
593594
path?: string
@@ -708,7 +709,6 @@ describe('API integration', { timeout: 60000 }, () => {
708709
})
709710
})
710711
},
711-
{ retry: 2 },
712712
)
713713

714714
describe('template methods', () => {

0 commit comments

Comments
 (0)