diff --git a/src/errors.ts b/src/errors.ts index f096dec..e438a4b 100644 --- a/src/errors.ts +++ b/src/errors.ts @@ -1,6 +1,6 @@ export class NotAMockFunctionError extends TypeError { constructor(value: unknown) { - super(`when() must be given a Vite mock, but received ${String(value)}`) + super(`when() must be given a Vitest mock, but received ${String(value)}`) this.name = 'NotAMockFunctionError' } }