@vitest/spy
Advanced tools
Comparing version 2.0.2 to 2.0.3
@@ -318,5 +318,5 @@ interface MockResultReturn<T> { | ||
new (...args: infer A): infer R; | ||
} | ((...args: infer A) => infer R) ? MockInstance<(this: R, ...args: A) => R> : never; | ||
} ? MockInstance<(this: R, ...args: A) => R> : T[M] extends Procedure ? MockInstance<T[M]> : never; | ||
declare function fn<T extends Procedure = Procedure>(implementation?: T): Mock<T>; | ||
export { type MaybeMocked, type MaybeMockedConstructor, type MaybeMockedDeep, type MaybePartiallyMocked, type MaybePartiallyMockedDeep, type Mock, type MockContext, type MockInstance, type MockResult, type MockSettledResult, type Mocked, type MockedClass, type MockedFunction, type MockedFunctionDeep, type MockedObject, type MockedObjectDeep, type PartialMock, type PartiallyMockedFunction, type PartiallyMockedFunctionDeep, fn, isMockFunction, mocks, spyOn }; |
{ | ||
"name": "@vitest/spy", | ||
"type": "module", | ||
"version": "2.0.2", | ||
"version": "2.0.3", | ||
"description": "Lightweight Jest compatible spy implementation", | ||
@@ -6,0 +6,0 @@ "license": "MIT", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
18942