You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, probably something wrong with my config but can't find any resources to help me out.
Following your readme I get an argument type mismatch from expect. Spent a while last night messing with my config and wasn't able to figure it out. I think it might have to do with my vite or vitest config because I don't seem to have all the methods I should have... but I'm not sure
Hi, probably something wrong with my config but can't find any resources to help me out.
Following your readme I get an argument type mismatch from
expect
. Spent a while last night messing with my config and wasn't able to figure it out. I think it might have to do with my vite or vitest config because I don't seem to have all the methods I should have... but I'm not sureThe error says:
Argument type {expect: ExpectStatic, spyOn: {<T, S extends Properties<Required<T>>>(obj: T, methodName: S, accessType: "get"): MockInstance<() => T[S]>, <T, G extends Properties<Required<T>>>(obj: T, methodName: G, accessType: "set"): MockInstance<(arg: T[G]) => void>, <T, M extends Classes<Required<T>> | Methods<Required<T>>>(obj: T, methodName: M): Required<T>[M] extends ({new(...args: infer A): infer R} | ((...args: infer A) => infer R)) ? MockInstance<(this:R, ...args: A) => R> : never}, resetAllMocks: () => VitestUtils, waitingFor: <T>(callback: () => (Promise<T> | T), options?: waitForOptions) => Promise<T>} is not assignable to parameter type ITestRunner | undefined
The text was updated successfully, but these errors were encountered: