Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@types/jest

Package Overview
Dependencies
Maintainers
1
Versions
209
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/jest - npm Package Compare versions

Comparing version 16.0.10 to 16.0.11

24

jest v16.0/index.d.ts

@@ -92,3 +92,3 @@ // Type definitions for Jest 16.0

interface DoneCallback {
(...args: any[]): any
(...args: any[]): any;
fail(error?: string | { message: string }): any;

@@ -113,3 +113,3 @@ }

interface Describe {
(name: string, fn: EmptyFunction): void
(name: string, fn: EmptyFunction): void;
only: Describe;

@@ -130,3 +130,3 @@ skip: Describe;

toBeGreaterThanOrEqual(expected: number): void;
toBeInstanceOf(expected: any): void
toBeInstanceOf(expected: any): void;
toBeLessThan(expected: number): void;

@@ -153,7 +153,7 @@ toBeLessThanOrEqual(expected: number): void;

interface Constructable {
new (...args: any[]): any
new(...args: any[]): any;
}
interface Mock<T> extends Function {
new (): T;
new(): T;
(...args: any[]): any;

@@ -176,5 +176,5 @@ mock: MockContext<T>;

//Jest ships with a copy of Jasmine. They monkey-patch its APIs and divergence/deprecation are expected.
//Relevant parts of Jasmine's API are below so they can be changed and removed over time.
//This file can't reference jasmine.d.ts since the globals aren't compatible.
// Jest ships with a copy of Jasmine. They monkey-patch its APIs and divergence/deprecation are expected.
// Relevant parts of Jasmine's API are below so they can be changed and removed over time.
// This file can't reference jasmine.d.ts since the globals aren't compatible.

@@ -209,3 +209,3 @@ declare function spyOn(object: any, method: string): jasmine.Spy;

interface Any {
new (expectedClass: any): any;
new(expectedClass: any): any;
jasmineMatches(other: any): boolean;

@@ -216,3 +216,3 @@ jasmineToString(): string;

interface ArrayContaining {
new (sample: any[]): any;
new(sample: any[]): any;
asymmetricMatch(other: any): boolean;

@@ -223,3 +223,3 @@ jasmineToString(): string;

interface ObjectContaining {
new (sample: any): any;
new(sample: any): any;
jasmineMatches(other: any, mismatchKeys: any[], mismatchValues: any[]): boolean;

@@ -234,3 +234,3 @@ jasmineToString(): string;

calls: Calls;
mostRecentCall: { args: any[]; };
mostRecentCall: { args: any[] };
argsForCall: any[];

@@ -237,0 +237,0 @@ wasCalled: boolean;

{
"name": "@types/jest",
"version": "16.0.10",
"version": "16.0.11",
"description": "TypeScript definitions for Jest",

@@ -33,4 +33,4 @@ "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/jest",

"dependencies": {},
"typesPublisherContentHash": "7e326da27a757c4cd6c64ed230e5fe048b50714bca62e311816a6ce9caf914d3",
"typeScriptVersion": "3.6"
"typesPublisherContentHash": "3362522f12938ba9cac755642be4d0f6f25d1c8d88f87fd335d7760e7f4bfb10",
"typeScriptVersion": "4.5"
}

@@ -11,3 +11,3 @@ # Installation

### Additional Details
* Last updated: Tue, 06 Jul 2021 21:33:43 GMT
* Last updated: Fri, 15 Sep 2023 20:36:37 GMT
* Dependencies: none

@@ -14,0 +14,0 @@ * Global values: `afterAll`, `afterEach`, `beforeAll`, `beforeEach`, `describe`, `expect`, `fail`, `fdescribe`, `fit`, `it`, `jasmine`, `jest`, `pending`, `spyOn`, `test`, `xdescribe`, `xit`, `xtest`

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc