Upgrading @types/jest 15 to 16
Unknown15.1.32 → 16.0.14
Fetching 15 releases from GitHub…2 / 15
UnknownUpgrade verdict
DepDelta is still reading the notes for 13 of 15 releases, so breaking changes can't be ruled out yet.
In plain terms
- DepDelta is still reading the release notes in this range, so it can't rule out breaking changes yet.
- This page updates as the notes come in.
Must act Still reading release notes
DepDelta is still reading the release notes in this range. This updates as they come in.
API changes
Generated by DepDelta from published .d.ts files. Not mixed with prose notes.
- changed:
call jasmine.CustomMatcherFactory(util: MatchersUtil, customEqualityTesters: Array<CustomEqualityTester>): CustomMatcher → call jasmine.CustomMatcherFactory(util: MatchersUtil, customEqualityTesters: CustomEqualityTester[]): CustomMatcher - changed:
call jest.It(name: string, fn: ProvidesCallback): void → call jest.It(name: string, fn?: ProvidesCallback): void - changed:
call jest.ProvidesCallback(cb?: DoneCallback): any → call jest.ProvidesCallback(cb: DoneCallback): any - changed:
function jest.addMatchers(matchers: jasmine.CustomMatcherFactories): void → function jest.addMatchers(matchers: jasmine.CustomMatcherFactories): typeof jest - changed:
function jest.autoMockOff(): void → function jest.autoMockOff(): typeof jest - changed:
function jest.autoMockOn(): void → function jest.autoMockOn(): typeof jest - changed:
function jest.clearAllTimers(): void → function jest.clearAllTimers(): typeof jest - changed:
function jest.deepUnmock(moduleName: string): void → function jest.deepUnmock(moduleName: string): typeof jest - changed:
function jest.disableAutomock(): void → function jest.disableAutomock(): typeof jest - changed:
function jest.doMock(moduleName: string): void → function jest.doMock(moduleName: string, factory?: () => any, options?: MockOptions): typeof jest - changed:
function jest.dontMock(moduleName: string): void → function jest.dontMock(moduleName: string): typeof jest - changed:
function jest.enableAutomock(): void → function jest.enableAutomock(): typeof jest - changed:
function jest.mock(moduleName: string, factory?: any, options?: MockOptions): void → function jest.mock(moduleName: string, factory?: () => any, options?: MockOptions): typeof jest - changed:
function jest.resetModuleRegistry(): void → function jest.resetModuleRegistry(): typeof jest - changed:
function jest.resetModules(): void → function jest.resetModules(): typeof jest - changed:
function jest.runAllImmediates(): void → function jest.runAllImmediates(): typeof jest - changed:
function jest.runAllTicks(): void → function jest.runAllTicks(): typeof jest - changed:
function jest.runAllTimers(): void → function jest.runAllTimers(): typeof jest - changed:
function jest.runOnlyPendingTimers(): void → function jest.runOnlyPendingTimers(): typeof jest - changed:
function jest.setMock<T>(moduleName: string, moduleExports: T): void → function jest.setMock<T>(moduleName: string, moduleExports: T): typeof jest - changed:
function jest.unmock(moduleName: string): void → function jest.unmock(moduleName: string): typeof jest - changed:
function jest.useFakeTimers(): void → function jest.useFakeTimers(): typeof jest - changed:
function jest.useRealTimers(): void → function jest.useRealTimers(): typeof jest - changed:
method jasmine.CustomMatcher.compare(actual: any, expected: any): CustomMatcherResult → method jasmine.CustomMatcher.compare(actual: any, ...expected: any[]): CustomMatcherResult - changed:
method jasmine.CustomMatcher.compare<T>(actual: T, expected: T): CustomMatcherResult → method jasmine.CustomMatcher.compare<T>(actual: T, expected: T, ...args: any[]): CustomMatcherResult - changed:
method jasmine.MatchersUtil.buildFailureMessage(matcherName: string, isNot: boolean, actual: any, ...expected: Array<any>): string → method jasmine.MatchersUtil.buildFailureMessage(matcherName: string, isNot: boolean, actual: any, ...expected: any[]): string - changed:
method jasmine.MatchersUtil.contains<T>(haystack: ArrayLike<T> | string, needle: any, customTesters?: Array<CustomEqualityTester>): boolean → method jasmine.MatchersUtil.contains<T>(haystack: ArrayLike<T> | string, needle: any, customTesters?: CustomEqualityTester[]): boolean - changed:
method jasmine.MatchersUtil.equals(a: any, b: any, customTesters?: Array<CustomEqualityTester>): boolean → method jasmine.MatchersUtil.equals(a: any, b: any, customTesters?: CustomEqualityTester[]): boolean - changed:
property jest.MockOptions.virtual?: boolean → property jest.MockOptions.virtual?: boolean | undefined - added:
function jest.clearAllMocks(): typeof jest - added:
function jest.runTimersToTime(msToRun: number): typeof jest - added:
method jest.Matchers.toContainEqual(expected: any): void - added:
method jest.Matchers.toHaveBeenLastCalledWith(...params: any[]): boolean - added:
method jest.Matchers.toMatchObject(expected: {}): void - added:
method jest.Matchers.toThrowErrorMatchingSnapshot(): void - added:
method jest.Mock.mockReset(): void - added:
property jest.It.concurrent: It