diff --git a/types/mocha/index.d.ts b/types/mocha/index.d.ts index 7817e205c3..b99fa24ab2 100644 --- a/types/mocha/index.d.ts +++ b/types/mocha/index.d.ts @@ -1,13 +1,16 @@ -// Type definitions for mocha 5.0 +// Type definitions for mocha 5.1 // Project: http://mochajs.org/ // Definitions by: Kazi Manzur Rashid // otiai10 // jt000 // Vadim Macagon // Andrew Bradley +// Dmitrii Sorin // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped // TypeScript Version: 2.1 +/// + interface MochaSetupOptions { // milliseconds to wait before considering a test slow slow?: number; @@ -201,7 +204,7 @@ declare namespace Mocha { } /** Partial interface for Mocha's `Runner` class. */ - interface IRunner { + interface IRunner extends NodeJS.EventEmitter { stats?: IStats; started: boolean; suite: ISuite;