feat(expect.js): bump v0.3.1 adding withArgs

This commit is contained in:
teppeis
2015-08-08 18:11:05 +09:00
parent 8de599097a
commit e28977c676
3 changed files with 19 additions and 2 deletions
+7 -2
View File
@@ -1,5 +1,5 @@
// Type definitions for expect.js 0.2.0
// Project: https://github.com/LearnBoost/expect.js
// Type definitions for expect.js 0.3.1
// Project: https://github.com/Automattic/expect.js
// Definitions by: Teppei Sato <https://github.com/teppeis>
// Definitions: https://github.com/borisyankov/DefinitelyTyped
@@ -12,6 +12,11 @@ declare module Expect {
*/
ok(): void;
/**
* Creates an anonymous function which calls fn with arguments.
*/
withArgs(...args: any[]): Root;
/**
* Assert that the function throws.
*