Skip to content

Commit

Permalink
chore: remove unused parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
DerYeger committed Jan 28, 2022
1 parent 41e8767 commit bbb4dcb
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion packages/vitest/src/integrations/jest-mock.ts
Expand Up @@ -120,7 +120,6 @@ export function spyOn<T, G extends Properties<Required<T>>>(
export function spyOn<T, M extends (Methods<Required<T>> | Classes<Required<T>>)>(
obj: T,
methodName: M,
mock?: M extends Methods<Required<T>> ? T[M] : never
): Required<T>[M] extends (...args: infer A) => infer R | (new (...args: infer A) => infer R) ? SpyInstance<A, R> : never
export function spyOn<T, K extends keyof T>(
obj: T,
Expand Down

0 comments on commit bbb4dcb

Please sign in to comment.