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 19.2.1 to 19.2.2

8

jest/index.d.ts
// Type definitions for Jest 19.2.0
// Project: http://facebook.github.io/jest/
// Definitions by: Asana <https://asana.com>, Ivo Stratev <https://github.com/NoHomey>, jwbay <https://github.com/jwbay>, Alexey Svetliakov <https://github.com/asvetliakov>
// Definitions by: Asana <https://asana.com>, Ivo Stratev <https://github.com/NoHomey>, jwbay <https://github.com/jwbay>, Alexey Svetliakov <https://github.com/asvetliakov>, Alex Jover Morales <https://github.com/alexjoverm>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped

@@ -80,2 +80,4 @@ // TypeScript Version: 2.1

function setMock<T>(moduleName: string, moduleExports: T): typeof jest;
/** Creates a mock function similar to jest.fn but also tracks calls to object[methodName] */
function spyOn<T extends {}, M extends keyof T>(object: T, method: M): SpyInstance<T[M]>;
/** Indicates that the module system should never return a mocked version of the specified module from require() (e.g. that it should always return the real module). */

@@ -249,2 +251,6 @@ function unmock(moduleName: string): typeof jest;

interface SpyInstance<T> extends MockInstance<T> {
mockRestore(): void;
}
/**

@@ -251,0 +257,0 @@ * Wrap module with mock definitions

8

jest/package.json
{
"name": "@types/jest",
"version": "19.2.1",
"version": "19.2.2",
"description": "TypeScript definitions for Jest",

@@ -22,2 +22,6 @@ "license": "MIT",

"url": "https://github.com/asvetliakov"
},
{
"name": "Alex Jover Morales",
"url": "https://github.com/alexjoverm"
}

@@ -33,4 +37,4 @@ ],

"peerDependencies": {},
"typesPublisherContentHash": "a4769cd503e84b71894c604b1b408dc655aede99e7430f10654b41c0c474b282",
"typesPublisherContentHash": "48f37ffe5a5e211dfb4b7b74e24de1bc9f5c8a53e30b7f397eff0a043c797030",
"typeScriptVersion": "2.1"
}

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

Additional Details
* Last updated: Sat, 11 Mar 2017 01:36:05 GMT
* Last updated: Mon, 13 Mar 2017 17:09:17 GMT
* Dependencies: none

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

# Credits
These definitions were written by Asana <https://asana.com>, Ivo Stratev <https://github.com/NoHomey>, jwbay <https://github.com/jwbay>, Alexey Svetliakov <https://github.com/asvetliakov>.
These definitions were written by Asana <https://asana.com>, Ivo Stratev <https://github.com/NoHomey>, jwbay <https://github.com/jwbay>, Alexey Svetliakov <https://github.com/asvetliakov>, Alex Jover Morales <https://github.com/alexjoverm>.
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