@types/mocha
Advanced tools
Comparing version 5.0.0 to 5.1.0
@@ -1,2 +0,2 @@ | ||
// Type definitions for mocha 5.0 | ||
// Type definitions for mocha 5.1 | ||
// Project: http://mochajs.org/ | ||
@@ -8,5 +8,8 @@ // Definitions by: Kazi Manzur Rashid <https://github.com/kazimanzurrashid> | ||
// Andrew Bradley <https://github.com/cspotcode> | ||
// Dmitrii Sorin <https://github.com/1999> | ||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped | ||
// TypeScript Version: 2.1 | ||
/// <reference types="node" /> | ||
interface MochaSetupOptions { | ||
@@ -78,2 +81,4 @@ // milliseconds to wait before considering a test slow | ||
currentTest: Mocha.ITestDefinition; | ||
suite: Mocha.ISuite; | ||
constructor(options?: { | ||
@@ -124,2 +129,3 @@ grep?: RegExp; | ||
run(onComplete?: (failures: number) => void): Mocha.IRunner; | ||
loadFiles(cb?: () => any): void; | ||
} | ||
@@ -174,2 +180,3 @@ | ||
title: string; | ||
suites: ISuite[]; | ||
@@ -204,3 +211,3 @@ fullTitle(): string; | ||
/** Partial interface for Mocha's `Runner` class. */ | ||
interface IRunner { | ||
interface IRunner extends NodeJS.EventEmitter { | ||
stats?: IStats; | ||
@@ -207,0 +214,0 @@ started: boolean; |
{ | ||
"name": "@types/mocha", | ||
"version": "5.0.0", | ||
"version": "5.1.0", | ||
"description": "TypeScript definitions for mocha", | ||
@@ -31,2 +31,7 @@ "license": "MIT", | ||
"githubUsername": "cspotcode" | ||
}, | ||
{ | ||
"name": "Dmitrii Sorin", | ||
"url": "https://github.com/1999", | ||
"githubUsername": "1999" | ||
} | ||
@@ -40,5 +45,7 @@ ], | ||
"scripts": {}, | ||
"dependencies": {}, | ||
"typesPublisherContentHash": "df351fe4d74abaa9859e9ed2e9334c4b55312b85c93f2677f2f3d34afa009fff", | ||
"dependencies": { | ||
"@types/node": "*" | ||
}, | ||
"typesPublisherContentHash": "9e92e8f5ac3a9af91f75a931c373b0dca8f8136ce2540e898876b84e9e386dc3", | ||
"typeScriptVersion": "2.1" | ||
} |
@@ -11,7 +11,7 @@ # Installation | ||
Additional Details | ||
* Last updated: Thu, 22 Mar 2018 17:52:41 GMT | ||
* Dependencies: none | ||
* Last updated: Wed, 18 Apr 2018 22:38:49 GMT | ||
* Dependencies: node | ||
* Global values: Mocha, after, afterEach, before, beforeEach, context, describe, it, mocha, run, setup, specify, suite, suiteSetup, suiteTeardown, teardown, test, xdescribe, xit | ||
# Credits | ||
These definitions were written by Kazi Manzur Rashid <https://github.com/kazimanzurrashid>, otiai10 <https://github.com/otiai10>, jt000 <https://github.com/jt000>, Vadim Macagon <https://github.com/enlight>, Andrew Bradley <https://github.com/cspotcode>. | ||
These definitions were written by Kazi Manzur Rashid <https://github.com/kazimanzurrashid>, otiai10 <https://github.com/otiai10>, jt000 <https://github.com/jt000>, Vadim Macagon <https://github.com/enlight>, Andrew Bradley <https://github.com/cspotcode>, Dmitrii Sorin <https://github.com/1999>. |
Sorry, the diff of this file is not supported yet
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
16980
297
1
+ Added@types/node@*
+ Added@types/node@22.5.3(transitive)
+ Addedundici-types@6.19.8(transitive)