Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
"ui:build": "vite build packages/ui",
"ui:dev": "npm -C packages/ui run dev:client",
"ui:test": "npm -C packages/ui run test:run",
"override-rolldown": "yq -i '.overrides.vite = \"npm:vite@beta\"' pnpm-workspace.yaml",
"override-rolldown": "yq -i '.overrides.vite = \"npm:vite@8\"' pnpm-workspace.yaml",
"test:browser:webdriverio": "pnpm -C test/browser run test:webdriverio",
"test:browser:playwright": "pnpm -C test/browser run test:playwright"
},
Expand Down
10 changes: 4 additions & 6 deletions packages/spy/src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -462,12 +462,10 @@ type DeepPartialMock<T extends Procedure | Constructable = Procedure> = Mock<
export type MaybeMockedConstructor<T> = T extends Constructable
? Mock<T>
: T
export type MockedFunction<T extends Procedure | Constructable> = Mock<T> & {
[K in keyof T]: T[K];
}
export type PartiallyMockedFunction<T extends Procedure | Constructable> = PartialMock<T> & {
[K in keyof T]: T[K];
}
export type MockedFunction<T extends Procedure | Constructable> = Mock<T>
& MockedObject<T>
export type PartiallyMockedFunction<T extends Procedure | Constructable> = PartialMock<T>
& MockedObject<T>
export type MockedFunctionDeep<T extends Procedure | Constructable> = Mock<T>
& MockedObjectDeep<T>
export type PartiallyMockedFunctionDeep<T extends Procedure | Constructable> = DeepPartialMock<T>
Expand Down
Loading
Loading