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 90555d3 commit 21ec4c2
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 21ec4c2

Please sign in to comment.