File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed
Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -17,10 +17,10 @@ export interface TestFixtureItem extends FixtureOptions {
1717export type UserFixtures = Record < string , unknown >
1818export type FixtureRegistrations = Map < string , TestFixtureItem >
1919
20- const kPropsSymbol = Symbol ( '$ vitest:fixture-props' )
20+ const kPropsSymbol = Symbol ( 'vitest:fixture-props' )
2121
2222interface FixturePropsOptions {
23- original ?: Function
23+ original : any
2424 index ?: number
2525}
2626
Original file line number Diff line number Diff line change @@ -615,11 +615,11 @@ function createSuite() {
615615 options . shuffle = shuffle
616616 }
617617
618- let mode : RunMode = ( this . only ?? options . only )
618+ let mode : RunMode = ( this . only || options . only )
619619 ? 'only'
620- : ( this . skip ?? options . skip )
620+ : ( this . skip || options . skip )
621621 ? 'skip'
622- : ( this . todo ?? options . todo )
622+ : ( this . todo || options . todo )
623623 ? 'todo'
624624 : 'run'
625625
You can’t perform that action at this time.
0 commit comments