Commit Graph
14 Commits
Author SHA1 Message Date
Andy Hanson 21065fcb6b Enable "esModuleInterop" in all tsconfigs 2018-02-05 09:49:31 -08:00
Will ab5329620a [@types/mocha] Populated members in IRunner, factored Reporter Stats object (#23119)
* [@types/mocha] Populated members in IRunner, factored Reporter `Stats` object

* Added `run` method

* Callback function passed to `run` should have been optional

* Changed optional properties to shorthand `?` syntax
2018-01-31 13:13:43 -08:00
smhxx da85ce8409 mocha: reporter() method takes optional second parameter (#23026) 2018-01-23 11:58:45 -08:00
Leo Liang ac20d45163 mocha: timeout accepts string parameter (#22337) 2018-01-03 13:28:32 -08:00
falsandtru f2dceb3528 [mocha] Remove type overriding by NodeJS (#22528)
* Fix type pollution

* Fix uncaught bugs of #22267
2018-01-03 13:17:50 -08:00
wwestrop b5d0ee30cc Better understanding of what dtslint is doing, refined test 2017-12-13 21:06:27 +00:00
wwestrop 769c5388ac mochajs - IRunner declared as extending Node EventEmitter 2017-12-11 22:58:06 +00:00
Sonal Keshav 82e73c7153 [mocha] Add require to MochaSetupOptions (#20791)
* Add require to MochaSetupOptions

Added require to MochaSetupOptions and updated tests to reflect change.

* Update tests to remove unnecessary option from constructor
2017-10-26 10:56:00 -07:00
Andy 19f89399e4 Ensure every package has a tslint.json (#21009)
* Ensure every package has a tslint.json

* Fixes
2017-10-25 11:13:50 -07:00
Andy 947a8fb761 Enable strictFunctionTypes (#20373) 2017-10-06 14:03:03 -07:00
Simon de Lang f5b9cce7ca Refactor the reporter so it is a constructor function 2017-08-25 10:29:13 +02:00
Andy 924fafffc0 Fix remaining lint errors (#19166) 2017-08-20 15:37:53 -07:00
Eric Eslinger 9e2f362ab3 Add the timeout() method to IRunnable (#15487)
this allows it().timeout(5000) type calls.
2017-04-17 08:03:23 -07:00
Andy Hanson 354cec620d Move all packages to a types directory 2017-03-24 14:27:52 -07:00