-
-
Save gdyrrahitis/fe4f649791982e25950758af99d4c62a to your computer and use it in GitHub Desktop.
Jasmine async test
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
it("should fail deliberately", (done) => { | |
myPromise.then((value) => { | |
done.fail("Because I can..."); | |
}); | |
myPromise.resolve(); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment