Socket
Socket
Sign inDemoInstall

@types/jest

Package Overview
Dependencies
Maintainers
1
Versions
208
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 19.2.0 to 19.2.1

10

jest/index.d.ts

@@ -161,7 +161,7 @@ // Type definitions for Jest 19.2.0

(actual: any): Matchers;
anything(): void;
anything(): any;
/** Matches anything that was created with the given constructor. You can use it inside `toEqual` or `toBeCalledWith` instead of a literal value. */
any(classType: any): void;
any(classType: any): any;
/** Matches any array made up entirely of elements in the provided array. You can use it inside `toEqual` or `toBeCalledWith` instead of a literal value. */
arrayContaining(arr: any[]): void;
arrayContaining(arr: any[]): any;
/** Verifies that a certain number of assertions are called during a test. This is often useful when testing asynchronous code, in order to make sure that assertions in a callback actually got called. */

@@ -172,5 +172,5 @@ assertions(num: number): void;

/** Matches any object that recursively matches the provided keys. This is often handy in conjunction with other asymmetric matchers. */
objectContaining(obj: {}): void;
objectContaining(obj: {}): any;
/** Matches any string that contains the exact provided string */
stringMatching(str: string | RegExp): void;
stringMatching(str: string | RegExp): any;
}

@@ -177,0 +177,0 @@

{
"name": "@types/jest",
"version": "19.2.0",
"version": "19.2.1",
"description": "TypeScript definitions for Jest",

@@ -32,4 +32,4 @@ "license": "MIT",

"peerDependencies": {},
"typesPublisherContentHash": "05fff843c501f44841b6c3de7be76af3414db7efcf67adf8dc99992af1673316",
"typesPublisherContentHash": "a4769cd503e84b71894c604b1b408dc655aede99e7430f10654b41c0c474b282",
"typeScriptVersion": "2.1"
}

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

Additional Details
* Last updated: Thu, 09 Mar 2017 02:12:13 GMT
* Last updated: Sat, 11 Mar 2017 01:36:05 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