vitest 4.1.12 → 5.0.5: changes the types of 416 API(s) · TeireSerializedConfig.fakeTimers (ts)SerializedConfig.browser (ts)SerializedConfig.benchmark (ts)SerializedConfig.experimental (ts)Assertion.toBeTypeOf (ts)Assertion.toHaveBeenCalledOnce (ts)Assertion.toHaveBeenCalledExactlyOnceWith (ts)Assertion.toHaveBeenCalledBefore (ts)Assertion.toHaveBeenCalledAfter (ts)Assertion.toHaveResolved (ts)Assertion.toHaveResolvedWith (ts)Assertion.toHaveResolvedTimes (ts)Assertion.toHaveLastResolvedWith (ts)Assertion.toHaveNthResolvedWith (ts)Assertion.resolves (ts)Assertion.rejects (ts)Assertion.matchSnapshot (ts)Assertion.toMatchSnapshot (ts)Assertion.toMatchInlineSnapshot (ts)Assertion.toThrowErrorMatchingSnapshot (ts)Assertion.toThrowErrorMatchingInlineSnapshot (ts)Assertion.toEqual (ts)Assertion.toStrictEqual (ts)Assertion.toBe (ts)Assertion.toMatch (ts)Assertion.toMatchObject (ts)Assertion.toContain (ts)Assertion.toContainEqual (ts)Assertion.toBeTruthy (ts)Assertion.toBeFalsy (ts)Assertion.toBeGreaterThan (ts)Assertion.toBeGreaterThanOrEqual (ts)Assertion.toBeLessThan (ts)Assertion.toBeLessThanOrEqual (ts)Assertion.toBeNaN (ts)Assertion.toBeUndefined (ts)Assertion.toBeNull (ts)Assertion.toBeNullable (ts)Assertion.toBeDefined (ts)Assertion.toBeInstanceOf (ts)Assertion.toHaveLength (ts)Assertion.toHaveProperty (ts)Assertion.toBeCloseTo (ts)Assertion.toHaveBeenCalledTimes (ts)Assertion.toBeCalledTimes (ts)Assertion.toHaveBeenCalled (ts)Assertion.toBeCalled (ts)Assertion.toHaveBeenCalledWith (ts)Assertion.toBeCalledWith (ts)Assertion.toHaveBeenNthCalledWith (ts)Assertion.toHaveBeenLastCalledWith (ts)Assertion.toThrow (ts)Assertion.toThrowError (ts)Assertion.toReturn (ts)Assertion.toHaveReturned (ts)Assertion.toReturnTimes (ts)Assertion.toHaveReturnedTimes (ts)Assertion.toReturnWith (ts)Assertion.toHaveReturnedWith (ts)Assertion.toHaveLastReturnedWith (ts)Assertion.toHaveNthReturnedWith (ts)Assertion.toSatisfy (ts)Assertion.toBeOneOf (ts)Assertion.called (ts)Assertion.callCount (ts)Assertion.calledWith (ts)Assertion.calledOnce (ts)Assertion.calledOnceWith (ts)Assertion.lastCalledWith (ts)Assertion.nthCalledWith (ts)Assertion.returned (ts)Assertion.returnedWith (ts)Assertion.returnedTimes (ts)Assertion.lastReturnedWith (ts)Assertion.nthReturnedWith (ts)Assertion.calledBefore (ts)Assertion.calledAfter (ts)Assertion.calledTwice (ts)Assertion.calledThrice (ts)ExpectStatic.soft (ts)ExpectStatic.poll (ts)JestAssertion.toEqual (ts)JestAssertion.toStrictEqual (ts)JestAssertion.toBe (ts)JestAssertion.toMatch (ts)JestAssertion.toMatchObject (ts)JestAssertion.toContain (ts)JestAssertion.toContainEqual (ts)JestAssertion.toBeTruthy (ts)JestAssertion.toBeFalsy (ts)JestAssertion.toBeGreaterThan (ts)JestAssertion.toBeGreaterThanOrEqual (ts)JestAssertion.toBeLessThan (ts)JestAssertion.toBeLessThanOrEqual (ts)JestAssertion.toBeNaN (ts)JestAssertion.toBeUndefined (ts)JestAssertion.toBeNull (ts)JestAssertion.toBeNullable (ts)JestAssertion.toBeDefined (ts)JestAssertion.toBeInstanceOf (ts)JestAssertion.toHaveLength (ts)JestAssertion.toHaveProperty (ts)JestAssertion.toBeCloseTo (ts)JestAssertion.toHaveBeenCalledTimes (ts)JestAssertion.toBeCalledTimes (ts)JestAssertion.toHaveBeenCalled (ts)JestAssertion.toBeCalled (ts)JestAssertion.toHaveBeenCalledWith (ts)JestAssertion.toBeCalledWith (ts)JestAssertion.toHaveBeenNthCalledWith (ts)JestAssertion.toHaveBeenLastCalledWith (ts)JestAssertion.toThrow (ts)JestAssertion.toThrowError (ts)JestAssertion.toReturn (ts)JestAssertion.toHaveReturned (ts)JestAssertion.toReturnTimes (ts)JestAssertion.toHaveReturnedTimes (ts)JestAssertion.toReturnWith (ts)JestAssertion.toHaveReturnedWith (ts)JestAssertion.toHaveLastReturnedWith (ts)JestAssertion.toHaveNthReturnedWith (ts)MatcherState.assertion (ts)vi.useFakeTimers (ts)vi.spyOn (ts)WebSocketHandlers.getModuleGraph (ts)WebSocketRPC.$call (ts)WebSocketRPC.$callOptional (ts)WebSocketRPC.$callEvent (ts)SuiteCollector.test.fn (ts)TestAPI.describe.fn (ts)ContextRPC.rpc.$call (ts)ContextRPC.rpc.$callOptional (ts)ContextRPC.rpc.$callEvent (ts)SerializedConfig.fakeTimers.now (ts)SerializedConfig.browser.locators (ts)Assertion.resolves.toBeTypeOf (ts)Assertion.resolves.toHaveBeenCalledOnce (ts)Assertion.resolves.toHaveBeenCalledExactlyOnceWith (ts)Assertion.resolves.toHaveBeenCalledBefore (ts)Assertion.resolves.toHaveBeenCalledAfter (ts)Assertion.resolves.toHaveResolved (ts)Assertion.resolves.toHaveResolvedWith (ts)Assertion.resolves.toHaveResolvedTimes (ts)Assertion.resolves.toHaveLastResolvedWith (ts)Assertion.resolves.toHaveNthResolvedWith (ts)Assertion.resolves.resolves (ts)Assertion.resolves.rejects (ts)Assertion.resolves.matchSnapshot (ts)Assertion.resolves.toMatchSnapshot (ts)Assertion.resolves.toMatchInlineSnapshot (ts)Assertion.resolves.toThrowErrorMatchingSnapshot (ts)Assertion.resolves.toThrowErrorMatchingInlineSnapshot (ts)Assertion.resolves.toMatchFileSnapshot (ts)Assertion.resolves.toEqual (ts)Assertion.resolves.toStrictEqual (ts)Assertion.resolves.toBe (ts)Assertion.resolves.toMatch (ts)Assertion.resolves.toMatchObject (ts)Assertion.resolves.toContain (ts)Assertion.resolves.toContainEqual (ts)Assertion.resolves.toBeTruthy (ts)Assertion.resolves.toBeFalsy (ts)Assertion.resolves.toBeGreaterThan (ts)Assertion.resolves.toBeGreaterThanOrEqual (ts)Assertion.resolves.toBeLessThan (ts)Assertion.resolves.toBeLessThanOrEqual (ts)Assertion.resolves.toBeNaN (ts)Assertion.resolves.toBeUndefined (ts)Assertion.resolves.toBeNull (ts)Assertion.resolves.toBeNullable (ts)Assertion.resolves.toBeDefined (ts)Assertion.resolves.toBeInstanceOf (ts)Assertion.resolves.toHaveLength (ts)Assertion.resolves.toHaveProperty (ts)Assertion.resolves.toBeCloseTo (ts)Assertion.resolves.toHaveBeenCalledTimes (ts)Assertion.resolves.toBeCalledTimes (ts)Assertion.resolves.toHaveBeenCalled (ts)Assertion.resolves.toBeCalled (ts)Assertion.resolves.toHaveBeenCalledWith (ts)Assertion.resolves.toBeCalledWith (ts)Assertion.resolves.toHaveBeenNthCalledWith (ts)Assertion.resolves.toHaveBeenLastCalledWith (ts)Assertion.resolves.toThrow (ts)Assertion.resolves.toThrowError (ts)Assertion.resolves.toReturn (ts)Assertion.resolves.toHaveReturned (ts)Assertion.resolves.toReturnTimes (ts)Assertion.resolves.toHaveReturnedTimes (ts)Assertion.resolves.toReturnWith (ts)Assertion.resolves.toHaveReturnedWith (ts)Assertion.resolves.toHaveLastReturnedWith (ts)Assertion.resolves.toHaveNthReturnedWith (ts)Assertion.resolves.toSatisfy (ts)Assertion.resolves.toBeOneOf (ts)Assertion.resolves.called (ts)Assertion.resolves.callCount (ts)Assertion.resolves.calledWith (ts)Assertion.resolves.calledOnce (ts)Assertion.resolves.calledOnceWith (ts)Assertion.resolves.lastCalledWith (ts)Assertion.resolves.nthCalledWith (ts)Assertion.resolves.returned (ts)Assertion.resolves.returnedWith (ts)Assertion.resolves.returnedTimes (ts)Assertion.resolves.lastReturnedWith (ts)Assertion.resolves.nthReturnedWith (ts)Assertion.resolves.calledBefore (ts)Assertion.resolves.calledAfter (ts)Assertion.resolves.calledTwice (ts)Assertion.resolves.calledThrice (ts)Assertion.called.toBeTypeOf (ts)Assertion.called.toHaveBeenCalledOnce (ts)Assertion.called.toHaveBeenCalledExactlyOnceWith (ts)Assertion.called.toHaveBeenCalledBefore (ts)Assertion.called.toHaveBeenCalledAfter (ts)Assertion.called.toHaveResolved (ts)Assertion.called.toHaveResolvedWith (ts)Assertion.called.toHaveResolvedTimes (ts)Assertion.called.toHaveLastResolvedWith (ts)Assertion.called.toHaveNthResolvedWith (ts)Assertion.called.resolves (ts)Assertion.called.rejects (ts)Assertion.called.matchSnapshot (ts)Assertion.called.toMatchSnapshot (ts)Assertion.called.toMatchInlineSnapshot (ts)Assertion.called.toThrowErrorMatchingSnapshot (ts)Assertion.called.toThrowErrorMatchingInlineSnapshot (ts)Assertion.called.toEqual (ts)Assertion.called.toStrictEqual (ts)Assertion.called.toBe (ts)Assertion.called.toMatch (ts)Assertion.called.toMatchObject (ts)Assertion.called.toContain (ts)Assertion.called.toContainEqual (ts)Assertion.called.toBeTruthy (ts)Assertion.called.toBeFalsy (ts)Assertion.called.toBeGreaterThan (ts)Assertion.called.toBeGreaterThanOrEqual (ts)Assertion.called.toBeLessThan (ts)Assertion.called.toBeLessThanOrEqual (ts)Assertion.called.toBeNaN (ts)Assertion.called.toBeUndefined (ts)Assertion.called.toBeNull (ts)Assertion.called.toBeNullable (ts)Assertion.called.toBeDefined (ts)Assertion.called.toBeInstanceOf (ts)Assertion.called.toHaveLength (ts)Assertion.called.toHaveProperty (ts)Assertion.called.toBeCloseTo (ts)Assertion.called.toHaveBeenCalledTimes (ts)Assertion.called.toBeCalledTimes (ts)Assertion.called.toHaveBeenCalled (ts)Assertion.called.toBeCalled (ts)Assertion.called.toHaveBeenCalledWith (ts)Assertion.called.toBeCalledWith (ts)Assertion.called.toHaveBeenNthCalledWith (ts)Assertion.called.toHaveBeenLastCalledWith (ts)Assertion.called.toThrow (ts)Assertion.called.toThrowError (ts)Assertion.called.toReturn (ts)Assertion.called.toHaveReturned (ts)Assertion.called.toReturnTimes (ts)Assertion.called.toHaveReturnedTimes (ts)Assertion.called.toReturnWith (ts)Assertion.called.toHaveReturnedWith (ts)Assertion.called.toHaveLastReturnedWith (ts)Assertion.called.toHaveNthReturnedWith (ts)SuiteCollector.test.describe.fn (ts)browser:utils (ts)config:configDefaults (ts)internal/browser:SpyModule (ts)internal/browser:inspect (ts)node:generateFileHash (ts)node:VitestRunMode (ts)node:createVitest (ts)node:resolveConfig (ts)node:startVitest (ts)browser:Locator.filter (ts)browser:utils.getElementError (ts)config:TestProjectInlineConfiguration.test (ts)config:TestProjectInlineConfiguration.extends (ts)config:TestUserConfig.ui (ts)config:TestUserConfig.fakeTimers (ts)config:TestUserConfig.cache (ts)config:TestUserConfig.experimental (ts)internal/browser:SpyModule.createMockInstance (ts)internal/browser:SpyModule.spyOn (ts)internal/browser:SpyModule.MaybeMocked (ts)internal/browser:SpyModule.MaybeMockedConstructor (ts)internal/browser:SpyModule.MaybeMockedDeep (ts)internal/browser:SpyModule.MaybePartiallyMocked (ts)internal/browser:SpyModule.MaybePartiallyMockedDeep (ts)internal/browser:SpyModule.MockParameters (ts)internal/browser:SpyModule.MockProcedureContext (ts)internal/browser:SpyModule.MockReturnType (ts)internal/browser:SpyModule.MockedFunctionDeep (ts)internal/browser:SpyModule.MockedObjectDeep (ts)internal/browser:SpyModule.PartialMock (ts)internal/browser:SpyModule.PartiallyMockedFunction (ts)internal/browser:SpyModule.PartiallyMockedFunctionDeep (ts)node:BaseCoverageOptions.reporter (ts)node:BaseCoverageOptions.thresholds (ts)node:BrowserConfigOptions.locators (ts)node:BrowserProvider.close (ts)node:CoverageProviderModule.startCoverage (ts)node:CoverageProviderModule.takeCoverage (ts)node:HangingProcessReporter.onInit (ts)node:JUnitReporter.onTestRunEnd (ts)node:ProjectConfig.sequence (ts)node:ProjectConfig.deps (ts)node:ResolvedBrowserOptions.locators (ts)node:ForksPoolWorker.on (ts)node:ForksPoolWorker.off (ts)node:PoolWorker.on (ts)node:PoolWorker.off (ts)node:ResolvedConfig.mode (ts)node:ResolvedConfig.api (ts)node:ResolvedConfig.experimental (ts)node:ResolvedConfig.ui (ts)node:TestProject.createSpecification (ts)node:ThreadsPoolWorker.on (ts)node:ThreadsPoolWorker.off (ts)node:Vitest.mode (ts)node:VmForksPoolWorker.on (ts)node:VmForksPoolWorker.off (ts)node:VmThreadsPoolWorker.on (ts)node:VmThreadsPoolWorker.off (ts)internal/browser:SpyModule.MockInstanceOption.originalImplementation (ts)internal/browser:SpyModule.MockInstanceOption.mockImplementation (ts)internal/browser:SpyModule.MockedFunctionDeep.mockName (ts)internal/browser:SpyModule.MockedFunctionDeep.mockClear (ts)internal/browser:SpyModule.MockedFunctionDeep.mockReset (ts)internal/browser:SpyModule.MockedFunctionDeep.mockImplementation (ts)internal/browser:SpyModule.MockedFunctionDeep.mockImplementationOnce (ts)internal/browser:SpyModule.MockedFunctionDeep.withImplementation (ts)internal/browser:SpyModule.MockedFunctionDeep.mockReturnThis (ts)internal/browser:SpyModule.MockedFunctionDeep.mockReturnValue (ts)internal/browser:SpyModule.MockedFunctionDeep.mockReturnValueOnce (ts)internal/browser:SpyModule.MockedFunctionDeep.mockThrow (ts)internal/browser:SpyModule.MockedFunctionDeep.mockThrowOnce (ts)internal/browser:SpyModule.MockedFunctionDeep.mockResolvedValue (ts)internal/browser:SpyModule.MockedFunctionDeep.mockResolvedValueOnce (ts)internal/browser:SpyModule.MockedFunctionDeep.mockRejectedValue (ts)internal/browser:SpyModule.MockedFunctionDeep.mockRejectedValueOnce (ts)internal/browser:SpyModule.PartialMock.mockName (ts)internal/browser:SpyModule.PartialMock.mockClear (ts)internal/browser:SpyModule.PartialMock.mockReset (ts)internal/browser:SpyModule.PartialMock.mockImplementation (ts)internal/browser:SpyModule.PartialMock.mockImplementationOnce (ts)internal/browser:SpyModule.PartialMock.withImplementation (ts)internal/browser:SpyModule.PartialMock.mockReturnThis (ts)internal/browser:SpyModule.PartialMock.mockReturnValue (ts)internal/browser:SpyModule.PartialMock.mockReturnValueOnce (ts)internal/browser:SpyModule.PartialMock.mockThrow (ts)internal/browser:SpyModule.PartialMock.mockThrowOnce (ts)internal/browser:SpyModule.PartialMock.mockResolvedValue (ts)internal/browser:SpyModule.PartialMock.mockResolvedValueOnce (ts)internal/browser:SpyModule.PartialMock.mockRejectedValue (ts)internal/browser:SpyModule.PartialMock.mockRejectedValueOnce (ts)internal/browser:SpyModule.PartiallyMockedFunction.mockName (ts)internal/browser:SpyModule.PartiallyMockedFunction.mockClear (ts)internal/browser:SpyModule.PartiallyMockedFunction.mockReset (ts)internal/browser:SpyModule.PartiallyMockedFunction.mockImplementation (ts)internal/browser:SpyModule.PartiallyMockedFunction.mockImplementationOnce (ts)internal/browser:SpyModule.PartiallyMockedFunction.withImplementation (ts)internal/browser:SpyModule.PartiallyMockedFunction.mockReturnThis (ts)internal/browser:SpyModule.PartiallyMockedFunction.mockReturnValue (ts)internal/browser:SpyModule.PartiallyMockedFunction.mockReturnValueOnce (ts)internal/browser:SpyModule.PartiallyMockedFunction.mockThrow (ts)internal/browser:SpyModule.PartiallyMockedFunction.mockThrowOnce (ts)internal/browser:SpyModule.PartiallyMockedFunction.mockResolvedValue (ts)internal/browser:SpyModule.PartiallyMockedFunction.mockResolvedValueOnce (ts)internal/browser:SpyModule.PartiallyMockedFunction.mockRejectedValue (ts)internal/browser:SpyModule.PartiallyMockedFunction.mockRejectedValueOnce (ts)internal/browser:SpyModule.PartiallyMockedFunctionDeep.mockName (ts)internal/browser:SpyModule.PartiallyMockedFunctionDeep.mockClear (ts)internal/browser:SpyModule.PartiallyMockedFunctionDeep.mockReset (ts)internal/browser:SpyModule.PartiallyMockedFunctionDeep.mockImplementation (ts)internal/browser:SpyModule.PartiallyMockedFunctionDeep.mockImplementationOnce (ts)internal/browser:SpyModule.PartiallyMockedFunctionDeep.withImplementation (ts)internal/browser:SpyModule.PartiallyMockedFunctionDeep.mockReturnThis (ts)internal/browser:SpyModule.PartiallyMockedFunctionDeep.mockReturnValue (ts)internal/browser:SpyModule.PartiallyMockedFunctionDeep.mockReturnValueOnce (ts)internal/browser:SpyModule.PartiallyMockedFunctionDeep.mockThrow (ts)internal/browser:SpyModule.PartiallyMockedFunctionDeep.mockThrowOnce (ts)internal/browser:SpyModule.PartiallyMockedFunctionDeep.mockResolvedValue (ts)internal/browser:SpyModule.PartiallyMockedFunctionDeep.mockResolvedValueOnce (ts)internal/browser:SpyModule.PartiallyMockedFunctionDeep.mockRejectedValue (ts)internal/browser:SpyModule.PartiallyMockedFunctionDeep.mockRejectedValueOnce (ts)node:BaseCoverageOptions.thresholds.perFile (ts)node:BaseCoverageOptions.thresholds.autoUpdate (ts)node:JsonReporter.coverageMap.data (ts)node:ProjectConfig.deps.web (ts)node:ProjectConfig.deps.optimizer (ts)node:ProjectConfig.deps.interopDefault (ts)internal/browser:SpyModule.MockInstanceOption.prototypeConfig.mockImplementation (ts)internal/browser:SpyModule.MockInstanceOption.prototypeConfig.mockOriginal (ts)internal/browser:SpyModule.MockInstanceOption.prototypeConfig.onceMockImplementations (ts)