Extracted form the discussion of #47.
#47 (comment)
* If #45 lands, then expand `verify` to ensure all promises from `resolves` and `rejects` are resolved or rejected
The following example will pass, because we don't let the test runner handle the returned promise.
describe("some test", function() {
it("should resolve", function() {
referee.assert.resolves(Promise.resolve(42), 43);
}):
});
This issue is an approach to verify if all async assertions have been properly resolved.
@mroderick, @mantoni
Extracted form the discussion of #47.
#47 (comment)
The following example will pass, because we don't let the test runner handle the returned promise.
This issue is an approach to verify if all async assertions have been properly resolved.
@mroderick, @mantoni