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 23.0.2 to 23.1.0

162

jest/index.d.ts

@@ -1,2 +0,2 @@

// Type definitions for Jest 23.0
// Type definitions for Jest 23.1
// Project: http://facebook.github.io/jest/

@@ -15,5 +15,5 @@ // Definitions by: Asana <https://asana.com>

// Josh Goldberg <https://github.com/joshuakgoldberg>
// Bradley Ayers <https://github.com/bradleyayers>
// Jeff Lau <https://github.com/UselessPickles>
// Andrew Makarov <https://github.com/r3nya>
// Martin Hochel <https://github.com/hotell>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped

@@ -877,2 +877,160 @@ // TypeScript Version: 2.3

interface DefaultOptions {
automock: boolean;
bail: boolean;
browser: boolean;
cache: boolean;
cacheDirectory: Path;
changedFilesWithAncestor: boolean;
clearMocks: boolean;
collectCoverage: boolean;
collectCoverageFrom: Maybe<string[]>;
coverageDirectory: Maybe<string>;
coveragePathIgnorePatterns: string[];
coverageReporters: string[];
coverageThreshold: Maybe<{global: {[key: string]: number}}>;
errorOnDeprecated: boolean;
expand: boolean;
filter: Maybe<Path>;
forceCoverageMatch: Glob[];
globals: ConfigGlobals;
globalSetup: Maybe<string>;
globalTeardown: Maybe<string>;
haste: HasteConfig;
detectLeaks: boolean;
detectOpenHandles: boolean;
moduleDirectories: string[];
moduleFileExtensions: string[];
moduleNameMapper: {[key: string]: string};
modulePathIgnorePatterns: string[];
noStackTrace: boolean;
notify: boolean;
notifyMode: string;
preset: Maybe<string>;
projects: Maybe<Array<string | ProjectConfig>>;
resetMocks: boolean;
resetModules: boolean;
resolver: Maybe<Path>;
restoreMocks: boolean;
rootDir: Maybe<Path>;
roots: Maybe<Path[]>;
runner: string;
runTestsByPath: boolean;
setupFiles: Path[];
setupTestFrameworkScriptFile: Maybe<Path>;
skipFilter: boolean;
snapshotSerializers: Path[];
testEnvironment: string;
testEnvironmentOptions: object;
testFailureExitCode: string | number;
testLocationInResults: boolean;
testMatch: Glob[];
testPathIgnorePatterns: string[];
testRegex: string;
testResultsProcessor: Maybe<string>;
testRunner: Maybe<string>;
testURL: string;
timers: 'real' | 'fake';
transform: Maybe<{[key: string]: string}>;
transformIgnorePatterns: Glob[];
watchPathIgnorePatterns: string[];
useStderr: boolean;
verbose: Maybe<boolean>;
watch: boolean;
watchman: boolean;
}
interface InitialOptions {
automock?: boolean;
bail?: boolean;
browser?: boolean;
cache?: boolean;
cacheDirectory?: Path;
clearMocks?: boolean;
changedFilesWithAncestor?: boolean;
changedSince?: string;
collectCoverage?: boolean;
collectCoverageFrom?: Glob[];
collectCoverageOnlyFrom?: {[key: string]: boolean};
coverageDirectory?: string;
coveragePathIgnorePatterns?: string[];
coverageReporters?: string[];
coverageThreshold?: {global: {[key: string]: number}};
detectLeaks?: boolean;
detectOpenHandles?: boolean;
displayName?: string;
expand?: boolean;
filter?: Path;
findRelatedTests?: boolean;
forceCoverageMatch?: Glob[];
forceExit?: boolean;
json?: boolean;
globals?: ConfigGlobals;
globalSetup?: Maybe<string>;
globalTeardown?: Maybe<string>;
haste?: HasteConfig;
reporters?: Array<ReporterConfig | string>;
logHeapUsage?: boolean;
lastCommit?: boolean;
listTests?: boolean;
mapCoverage?: boolean;
moduleDirectories?: string[];
moduleFileExtensions?: string[];
moduleLoader?: Path;
moduleNameMapper?: {[key: string]: string};
modulePathIgnorePatterns?: string[];
modulePaths?: string[];
name?: string;
noStackTrace?: boolean;
notify?: boolean;
notifyMode?: string;
onlyChanged?: boolean;
outputFile?: Path;
passWithNoTests?: boolean;
preprocessorIgnorePatterns?: Glob[];
preset?: Maybe<string>;
projects?: Glob[];
replname?: Maybe<string>;
resetMocks?: boolean;
resetModules?: boolean;
resolver?: Maybe<Path>;
restoreMocks?: boolean;
rootDir?: Path;
roots?: Path[];
runner?: string;
runTestsByPath?: boolean;
scriptPreprocessor?: string;
setupFiles?: Path[];
setupTestFrameworkScriptFile?: Path;
silent?: boolean;
skipFilter?: boolean;
skipNodeResolution?: boolean;
snapshotSerializers?: Path[];
errorOnDeprecated?: boolean;
testEnvironment?: string;
testEnvironmentOptions?: object;
testFailureExitCode?: string | number;
testLocationInResults?: boolean;
testMatch?: Glob[];
testNamePattern?: string;
testPathDirs?: Path[];
testPathIgnorePatterns?: string[];
testRegex?: string;
testResultsProcessor?: Maybe<string>;
testRunner?: string;
testURL?: string;
timers?: 'real' | 'fake';
transform?: {[key: string]: string};
transformIgnorePatterns?: Glob[];
watchPathIgnorePatterns?: string[];
unmockedModulePathPatterns?: string[];
updateSnapshot?: boolean;
useStderr?: boolean;
verbose?: Maybe<boolean>;
watch?: boolean;
watchAll?: boolean;
watchman?: boolean;
watchPlugins?: string[];
}
interface GlobalConfig {

@@ -879,0 +1037,0 @@ bail: boolean;

14

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

@@ -67,7 +67,2 @@ "license": "MIT",

{
"name": "Bradley Ayers",
"url": "https://github.com/bradleyayers",
"githubUsername": "bradleyayers"
},
{
"name": "Jeff Lau",

@@ -81,2 +76,7 @@ "url": "https://github.com/UselessPickles",

"githubUsername": "r3nya"
},
{
"name": "Martin Hochel",
"url": "https://github.com/hotell",
"githubUsername": "hotell"
}

@@ -91,4 +91,4 @@ ],

"dependencies": {},
"typesPublisherContentHash": "bb0c847e96d3d50c22a51738007a017831700c69d399a06ed19b6724cedce025",
"typesPublisherContentHash": "43db37f780da00ecfada28b99ef7bbae09183013c7b6a85ba702e3fa5fac09b2",
"typeScriptVersion": "2.3"
}

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

Additional Details
* Last updated: Tue, 12 Jun 2018 03:36:26 GMT
* Last updated: Wed, 13 Jun 2018 19:16:56 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>, Alex Jover Morales <https://github.com/alexjoverm>, Allan Lukwago <https://github.com/epicallan>, Ika <https://github.com/ikatyang>, Waseem Dahman <https://github.com/wsmd>, Jamie Mason <https://github.com/JamieMason>, Douglas Duteil <https://github.com/douglasduteil>, Ahn <https://github.com/ahnpnl>, Josh Goldberg <https://github.com/joshuakgoldberg>, Bradley Ayers <https://github.com/bradleyayers>, Jeff Lau <https://github.com/UselessPickles>, Andrew Makarov <https://github.com/r3nya>.
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>, Allan Lukwago <https://github.com/epicallan>, Ika <https://github.com/ikatyang>, Waseem Dahman <https://github.com/wsmd>, Jamie Mason <https://github.com/JamieMason>, Douglas Duteil <https://github.com/douglasduteil>, Ahn <https://github.com/ahnpnl>, Josh Goldberg <https://github.com/joshuakgoldberg>, Jeff Lau <https://github.com/UselessPickles>, Andrew Makarov <https://github.com/r3nya>, Martin Hochel <https://github.com/hotell>.
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