Skip to content

Instantly share code, notes, and snippets.

@gdyrrahitis
Last active August 9, 2017 23:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save gdyrrahitis/fe4f649791982e25950758af99d4c62a to your computer and use it in GitHub Desktop.
Save gdyrrahitis/fe4f649791982e25950758af99d4c62a to your computer and use it in GitHub Desktop.
Jasmine async test
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