Skip to content

Commit d71197a

Browse files
committed
fix(runner): resolve CI regressions and type errors in mergeTests
1 parent 8ecefd9 commit d71197a

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

packages/runner/src/fixture.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,10 @@ export interface TestFixtureItem extends FixtureOptions {
1717
export type UserFixtures = Record<string, unknown>
1818
export type FixtureRegistrations = Map<string, TestFixtureItem>
1919

20-
const kPropsSymbol = Symbol('$vitest:fixture-props')
20+
const kPropsSymbol = Symbol('vitest:fixture-props')
2121

2222
interface FixturePropsOptions {
23-
original?: Function
23+
original: any
2424
index?: number
2525
}
2626

packages/runner/src/suite.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)