@vitest/spy
Advanced tools
Comparing version 2.0.0-beta.13 to 2.0.0
@@ -318,5 +318,5 @@ interface MockResultReturn<T> { | ||
new (...args: infer A): infer R; | ||
} | ((...args: infer A) => infer R) ? MockInstance<(...args: A) => R> : never; | ||
} | ((...args: infer A) => infer R) ? MockInstance<(this: R, ...args: A) => R> : 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.0-beta.13", | ||
"version": "2.0.0", | ||
"description": "Lightweight Jest compatible spy implementation", | ||
@@ -6,0 +6,0 @@ "license": "MIT", |
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
18930
0