@types/mocha
Advanced tools
Comparing version 2.2.42 to 2.2.43
@@ -20,3 +20,3 @@ // Type definitions for mocha 2.2.5 | ||
// reporter instance (function or string), defaults to `mocha.reporters.Spec` | ||
reporter?: any; | ||
reporter?: string | ReporterConstructor; | ||
@@ -66,2 +66,6 @@ // bail on the first test failure | ||
interface ReporterConstructor { | ||
new(runner: Mocha.IRunner, options: any): any; | ||
} | ||
declare class Mocha { | ||
@@ -72,3 +76,3 @@ currentTest: Mocha.ITestDefinition; | ||
ui?: string; | ||
reporter?: string; | ||
reporter?: string | ReporterConstructor; | ||
timeout?: number; | ||
@@ -87,3 +91,3 @@ reporterOptions?: any; | ||
/** Sets reporter constructor, defaults to mocha.reporters.Spec. */ | ||
reporter(reporter: (runner: Mocha.IRunner, options: any) => any): Mocha; | ||
reporter(reporter: ReporterConstructor): Mocha; | ||
ui(value: string): Mocha; | ||
@@ -161,3 +165,3 @@ grep(value: string): Mocha; | ||
pending: boolean; | ||
state: 'failed'|'passed'|undefined; | ||
state: 'failed' | 'passed' | undefined; | ||
@@ -164,0 +168,0 @@ fullTitle(): string; |
{ | ||
"name": "@types/mocha", | ||
"version": "2.2.42", | ||
"version": "2.2.43", | ||
"description": "TypeScript definitions for mocha", | ||
@@ -9,15 +9,19 @@ "license": "MIT", | ||
"name": "Kazi Manzur Rashid", | ||
"url": "https://github.com/kazimanzurrashid" | ||
"url": "https://github.com/kazimanzurrashid", | ||
"githubUsername": "kazimanzurrashid" | ||
}, | ||
{ | ||
"name": "otiai10", | ||
"url": "https://github.com/otiai10" | ||
"url": "https://github.com/otiai10", | ||
"githubUsername": "otiai10" | ||
}, | ||
{ | ||
"name": "jt000", | ||
"url": "https://github.com/jt000" | ||
"url": "https://github.com/jt000", | ||
"githubUsername": "jt000" | ||
}, | ||
{ | ||
"name": "Vadim Macagon", | ||
"url": "https://github.com/enlight" | ||
"url": "https://github.com/enlight", | ||
"githubUsername": "enlight" | ||
} | ||
@@ -32,4 +36,4 @@ ], | ||
"dependencies": {}, | ||
"typesPublisherContentHash": "930332ba55f12bfce883eea9e2cfca2ef2cf0d6da67ee1556886d9b13fcbe537", | ||
"typesPublisherContentHash": "985e047c5ee900604004b333b67acf81490a98500c93523e1bed925507455c87", | ||
"typeScriptVersion": "2.0" | ||
} |
@@ -11,3 +11,3 @@ # Installation | ||
Additional Details | ||
* Last updated: Mon, 21 Aug 2017 21:55:03 GMT | ||
* Last updated: Fri, 08 Sep 2017 21:06:41 GMT | ||
* Dependencies: none | ||
@@ -14,0 +14,0 @@ * Global values: Mocha, after, afterEach, before, beforeEach, context, describe, it, mocha, run, setup, specify, suite, suiteSetup, suiteTeardown, teardown, test, xdescribe, xit |
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
11481
205