Commit Graph

35 Commits

Author SHA1 Message Date
Daniel
b1daff0be8 Add mocha's specify function (#9691) 2016-06-19 12:28:55 +09:00
vvakame
7de6c3dd94 Merge branch 'master' into rename-repo-url 2016-03-17 21:06:54 +09:00
vvakame
14fe4313f4 replace internal module to namespace 2016-03-17 02:18:10 +09:00
vvakame
56295f5058 replace https://github.com/borisyankov/DefinitelyTyped to https://github.com/DefinitelyTyped/DefinitelyTyped 2016-03-17 00:55:26 +09:00
Michael Nahkies
d6dd320291 Fix implicit any error 2015-10-23 23:32:46 +13:00
Michael Nahkies
a387de1a85 Add support for descriptions on hooks
- Includes before, after, beforeEach and afterEach
2015-10-20 22:53:14 +13:00
John Vilk
ff9d48a659 Adding definition of mocha.throwError, with test to cover it.
See implementation in Mocha's source code here:
c4393c4568/support/browser-entry.js (L98)
2015-10-15 16:03:27 -04:00
Masahiro Wakame
9cf502e3c1 Merge pull request #4709 from vvakame/mocha-node
separate mocha node.js definition
2015-06-27 11:23:52 +09:00
vvakame
098def61bc separate mocha node.js definition 2015-06-23 21:38:32 +09:00
Mohsen Azimi
b53cbfb5b5 Add xit and xdescribe
In Mocha you can comment out tests by changing their `it` or `describe` blocks to `xit` or `xdescribe`. This change will add support for those functions.
2015-06-22 17:41:15 -07:00
Vadim Macagon
60d204c382 Extend Mocha typings to allow writing of custom reporters 2015-06-04 16:49:28 +07:00
Phips Peter
66d8808c98 Adding test for new mocha API 2015-05-12 11:57:21 -07:00
Phips Peter
372a2c4cd9 Updating the mocha type definitions 2015-05-12 11:56:55 -07:00
Bruce Mitchener
c7b467e42e mocha.d.ts: Boolean should be boolean. 2015-03-25 21:07:30 +07:00
Jason Tremper
3a022a9a64 Fixes for PR #3313 review 2014-12-18 07:46:43 -05:00
Jason Tremper
19915b733f Fixing MochaInstance.Run argument to take a function that has a number instead of an array. 2014-12-14 17:12:15 -05:00
Jason Tremper
44729fa526 Adding Mocha instance for "require('mocha')" used for testrunners 2014-12-14 16:55:15 -05:00
Bart van der Schoor
1d345f6c14 cleaned-up headers 2014-06-18 23:31:11 +02:00
otiai10
d1dbf0a217 Update mocha.d.ts: add context statement 2014-05-21 14:48:04 +09:00
SomaticIT
24287527f2 Update Test to remove global var as defined in Definitions 2014-02-05 21:34:50 +01:00
SomaticIT
8200340199 Update Mocha Definitions to 1.17.1 2014-02-05 21:33:54 +01:00
Antonio Laguna
3ca0a69d6c Adding TDD style to Mocha definitions 2014-01-04 17:46:26 +00:00
Jeffery Grajkowski
798dbfbf8f Converting ungeneric "Array" to "any[]"
TypeScript 0.9.5 beta does not allow generic type references without the type argument.  This code will still compile for 0.9.1 users.  Flight and Ember have further compile problems in 0.9.5 that I don't feel qualified to address as I'm not versed in those libraries.
2013-11-26 10:29:46 -08:00
Ashwin Ramaswamy
e47fd7152b mocha's run callback is optional 2013-11-01 16:33:04 -04:00
akalman
4dafacebea put done interface into a module. 2013-10-24 10:21:17 -07:00
akalman
68df744fd6 add done type. 2013-10-23 15:19:01 -07:00
Jacob Boland
9a3601f934 Add mocha members and comment existing used interface 2013-10-23 09:05:47 -07:00
Alex Varju
a981c8edd6 make mocha signatures --noImplicitAny friendly 2013-09-20 15:17:00 -07:00
ashwinr
fd5c5d0f38 update mocha definitions 2013-08-19 16:01:33 -04:00
Boris Yankov
ffe87ddf41 Merge Updates to Knockout and Mocha 2013-08-07 18:52:06 +03:00
Andrew Gaspar
6eb08d6fdb Allows done functions for test cases to take a failure reason to indicate a failure asynchronously. 2013-07-07 17:17:25 -07:00
Michael Miller
19dbd29449 Fix spelling mistake in mocha method definition. 2013-06-02 13:02:21 -04:00
Kazi Manzur Rashid
fa81134a20 Updated file header and included tests. 2013-04-20 10:18:58 +06:00
Kazi Manzur Rashid
c8ac940242 Added the missing before and after hook. 2013-04-06 10:57:38 +06:00
Kazi Manzur Rashid
6967071816 Included Mocha definition. 2013-04-05 09:22:58 +06:00