Upgrading @types/jest 18 to 19
Unknown18.1.1 → 19.2.4
Fetching 5 releases from GitHub…0 / 5
UnknownUpgrade verdict
DepDelta is still reading the notes for this range, 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:
method jest.Expect.any(classType: any): void → method jest.Expect.any(classType: any): any - changed:
method jest.Expect.anything(): void → method jest.Expect.anything(): any - changed:
method jest.Expect.arrayContaining(arr: any[]): void → method jest.Expect.arrayContaining(arr: any[]): any - changed:
method jest.Expect.objectContaining(obj: {}): void → method jest.Expect.objectContaining(obj: {}): any - changed:
method jest.Expect.stringMatching(str: string | RegExp): void → method jest.Expect.stringMatching(str: string | RegExp): any - changed:
method jest.Matchers.toThrow(): void → method jest.Matchers.toThrow(error?: string | Constructable | RegExp): void - added:
function jest.spyOn<T extends {}, M extends keyof T>(object: T, method: M): SpyInstance<T[M]> - added:
interface jest.SnapshotSerializerColor - added:
interface jest.SnapshotSerializerColors - added:
interface jest.SnapshotSerializerOptions - added:
interface jest.SnapshotSerializerOptionsTheme - added:
interface jest.SnapshotSerializerPlugin - added:
interface jest.SpyInstance<T> extends MockInstance<T> - added:
method jest.Expect.addSnapshotSerializer(serializer: SnapshotSerializerPlugin) : void - added:
method jest.SnapshotSerializerPlugin.print(val:any, serialize:((val:any) => string), indent:((str:string) => string), opts:SnapshotSerializerOptions, colors: SnapshotSerializerColors) : string - added:
method jest.SnapshotSerializerPlugin.test(val:any) : boolean - added:
method jest.SpyInstance.mockRestore(): void - added:
property jest.SnapshotSerializerColor.close: string - added:
property jest.SnapshotSerializerColor.open: string - added:
property jest.SnapshotSerializerColors.comment: SnapshotSerializerColor - added:
property jest.SnapshotSerializerColors.content: SnapshotSerializerColor - added:
property jest.SnapshotSerializerColors.prop: SnapshotSerializerColor - added:
property jest.SnapshotSerializerColors.tag: SnapshotSerializerColor - added:
property jest.SnapshotSerializerColors.value: SnapshotSerializerColor - added:
property jest.SnapshotSerializerOptions.callToJSON?: boolean - added:
property jest.SnapshotSerializerOptions.edgeSpacing?: string - added:
property jest.SnapshotSerializerOptions.escapeRegex?: boolean - added:
property jest.SnapshotSerializerOptions.highlight?: boolean - added:
property jest.SnapshotSerializerOptions.indent?: number - added:
property jest.SnapshotSerializerOptions.maxDepth?: number - added:
property jest.SnapshotSerializerOptions.min?: boolean - added:
property jest.SnapshotSerializerOptions.plugins?: Array<SnapshotSerializerPlugin> - added:
property jest.SnapshotSerializerOptions.printFunctionName?: boolean - added:
property jest.SnapshotSerializerOptions.spacing?: string - added:
property jest.SnapshotSerializerOptions.theme?: SnapshotSerializerOptionsTheme - added:
property jest.SnapshotSerializerOptionsTheme.comment?: string - added:
property jest.SnapshotSerializerOptionsTheme.content?: string - added:
property jest.SnapshotSerializerOptionsTheme.prop?: string - added:
property jest.SnapshotSerializerOptionsTheme.tag?: string - added:
property jest.SnapshotSerializerOptionsTheme.value?: string - added:
var jasmine.DEFAULT_TIMEOUT_INTERVAL: number