Skip to content

Commit

Permalink
Merge pull request #750 from shvaikalesh/patch-1
Browse files Browse the repository at this point in the history
Fix new Promise example
  • Loading branch information
keithamus authored Jul 10, 2016
2 parents cc7799c + 3f361c7 commit 43a64c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/chai/core/assertions.js
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ module.exports = function (chai, _) {
* expect(null).to.be.a('null');
* expect(undefined).to.be.an('undefined');
* expect(new Error).to.be.an('error');
* expect(new Promise).to.be.a('promise');
* expect(Promise.resolve()).to.be.a('promise');
* expect(new Float32Array).to.be.a('float32array');
* expect(Symbol()).to.be.a('symbol');
*
Expand Down

0 comments on commit 43a64c4

Please sign in to comment.