We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 70737c2 commit 3afd16aCopy full SHA for 3afd16a
chai-as-promised/chai-as-promised-tests.ts
@@ -9,6 +9,7 @@ chai.use(chaiAsPromised);
9
var promise: any;
10
chai.expect(promise).to.eventually.equal(3);
11
chai.expect(promise).to.become(3);
12
+chai.expect(promise).to.be.fulfilled;
13
chai.expect(promise).to.be.rejected;
14
chai.expect(promise).to.be.rejectedWith(Error);
15
chai.expect(promise).to.notify(() => console.log('done'));
0 commit comments