@types/mocha
Advanced tools
Comparing version 2.2.45 to 2.2.46
@@ -6,4 +6,2 @@ // Type definitions for mocha 2.2.5 | ||
/// <reference types="node" /> | ||
interface MochaSetupOptions { | ||
@@ -33,3 +31,3 @@ //milliseconds to wait before considering a test slow | ||
grep?: any; | ||
// require modules before running tests | ||
@@ -126,3 +124,3 @@ require?: string[]; | ||
interface ISuiteCallbackContext { | ||
timeout(ms: number): this; | ||
timeout(ms: number | string): this; | ||
retries(n: number): this; | ||
@@ -134,3 +132,3 @@ slow(ms: number): this; | ||
skip(): this; | ||
timeout(ms: number): this; | ||
timeout(ms: number | string): this; | ||
[index: string]: any; | ||
@@ -142,3 +140,3 @@ } | ||
skip(): this; | ||
timeout(ms: number): this; | ||
timeout(ms: number | string): this; | ||
retries(n: number): this; | ||
@@ -156,3 +154,3 @@ slow(ms: number): this; | ||
timedOut: boolean; | ||
timeout(n: number): this; | ||
timeout(n: number | string): this; | ||
} | ||
@@ -183,3 +181,3 @@ | ||
/** Partial interface for Mocha's `Runner` class. */ | ||
interface IRunner extends NodeJS.EventEmitter { } | ||
interface IRunner { } | ||
@@ -190,3 +188,3 @@ interface IContextDefinition { | ||
skip(description: string, callback: (this: ISuiteCallbackContext) => void): void; | ||
timeout(ms: number): void; | ||
timeout(ms: number | string): void; | ||
} | ||
@@ -198,3 +196,3 @@ | ||
skip(expectation: string, callback?: (this: ITestCallbackContext, done: MochaDone) => any): void; | ||
timeout(ms: number): void; | ||
timeout(ms: number | string): void; | ||
state: "failed" | "passed"; | ||
@@ -201,0 +199,0 @@ } |
{ | ||
"name": "@types/mocha", | ||
"version": "2.2.45", | ||
"version": "2.2.46", | ||
"description": "TypeScript definitions for mocha", | ||
@@ -34,7 +34,5 @@ "license": "MIT", | ||
"scripts": {}, | ||
"dependencies": { | ||
"@types/node": "*" | ||
}, | ||
"typesPublisherContentHash": "bfb75ae94444746750e938759a140fed9284c30436addb05c19dc5527b140536", | ||
"dependencies": {}, | ||
"typesPublisherContentHash": "5abc7f027105a4e12d38f4e60fbe9780452d521fa58b335a923e46490287ccff", | ||
"typeScriptVersion": "2.0" | ||
} |
@@ -11,4 +11,4 @@ # Installation | ||
Additional Details | ||
* Last updated: Sat, 23 Dec 2017 16:04:56 GMT | ||
* Dependencies: node | ||
* Last updated: Thu, 04 Jan 2018 23:26:01 GMT | ||
* Dependencies: none | ||
* Global values: Mocha, after, afterEach, before, beforeEach, context, describe, it, mocha, run, setup, specify, suite, suiteSetup, suiteTeardown, teardown, test, xdescribe, xit | ||
@@ -15,0 +15,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
0
11604
207
- Removed@types/node@*
- Removed@types/node@22.5.3(transitive)
- Removedundici-types@6.19.8(transitive)