add test case for fulfilled

This commit is contained in:
Fabian Raetz
2015-05-29 00:33:31 +02:00
parent 70737c2a24
commit 3afd16a369
@@ -9,6 +9,7 @@ chai.use(chaiAsPromised);
var promise: any;
chai.expect(promise).to.eventually.equal(3);
chai.expect(promise).to.become(3);
chai.expect(promise).to.be.fulfilled;
chai.expect(promise).to.be.rejected;
chai.expect(promise).to.be.rejectedWith(Error);
chai.expect(promise).to.notify(() => console.log('done'));