Socket
Socket
Sign inDemoInstall

@types/jest

Package Overview
Dependencies
2
Maintainers
1
Versions
207
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 26.0.1 to 26.0.2

20

jest/index.d.ts

@@ -134,2 +134,22 @@ // Type definitions for Jest 26.0

/**
* Set the current system time used by fake timers. Simulates a user
* changing the system clock while your program is running. It affects the
* current time but it does not in itself cause e.g. timers to fire; they
* will fire exactly as they would have done without the call to
* jest.setSystemTime().
*
* > Note: This function is only available when using modern fake timers
* > implementation
*/
function setSystemTime(now?: number): void;
/**
* When mocking time, Date.now() will also be mocked. If you for some
* reason need access to the real current time, you can invoke this
* function.
*
* > Note: This function is only available when using modern fake timers
* > implementation
*/
function getRealSystemTime(): number;
/**
* Indicates that the module system should never return a mocked version

@@ -136,0 +156,0 @@ * of the specified module, including all of the specificied module's dependencies.

4

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

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

},
"typesPublisherContentHash": "22c88439c1528c66029045a18b05927e8bfb97a20509fd185b7fd3234232230d",
"typesPublisherContentHash": "36bb06a8d6d6f1dd40a8fd2b66eebaf11b0df88a7fb655c9b29d6e83a34ea0ab",
"typeScriptVersion": "3.1"
}

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

### Additional Details
* Last updated: Wed, 24 Jun 2020 08:56:19 GMT
* Last updated: Wed, 24 Jun 2020 11:46:46 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

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc