should
Advanced tools
Comparing version 13.0.1 to 13.1.0
@@ -0,5 +1,13 @@ | ||
13.1.0 / 2017-09-20 | ||
=================== | ||
* Added `.resolved` as alias to `.fulfilled` | ||
* Added `.resolvedWith` as alias to `.fulfilledWith` | ||
* All zero argument assertion will throw `TypeError` if any arg passed | ||
* Fix default export for TS definition | ||
13.0.1 / 2017-09-06 | ||
=================== | ||
* Add missng umd bundle for browser | ||
* Add missing UMD bundle for browser | ||
@@ -11,3 +19,3 @@ 13.0.0 / 2017-09-05 | ||
* Fixed `.match`ing on `Date`s | ||
* Added TypeScript definitions | ||
* Added TypeScript definitions | ||
@@ -14,0 +22,0 @@ 12.0.0 / 2017-08-28 |
{ | ||
"name": "should", | ||
"description": "test framework agnostic BDD-style assertions", | ||
"version": "13.0.1", | ||
"version": "13.1.0", | ||
"author": "TJ Holowaychuk <tj@vision-media.ca>, Denis Bardadym <bardadymchik@gmail.com>", | ||
@@ -6,0 +6,0 @@ "typings": "./should.d.ts", |
// Type definitions for should.js | ||
declare function should(obj: any): should.Assertion | ||
declare function should(obj: any): should.Assertion; | ||
@@ -167,5 +167,7 @@ // node assert methods | ||
fulfilled: Promise<any>; | ||
resolved: Promise<any>; | ||
rejected: Promise<any>; | ||
fulfilledWith(obj: any): Promise<any>; | ||
resolvedWith(obj: any): Promise<any>; | ||
rejectedWith(msg: RegExp | string | Error, properties?: {}); | ||
@@ -242,2 +244,2 @@ rejectedWith(properties: {}); | ||
export = should; | ||
export default should; |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
408252
11885