You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We ran into an issue when writing some tests where jasmine-node was actually just exiting with 0 even though nothing was happening! It turns out, one of the URLs in our frisby test was bad. Here is an example:
varfrisby=require('frisby');frisby.create('We should be able to GET a URL').get('https://googlenotreally.com').expectStatus(200).toss();
When run with jasmine-node --verbose, this silently exits with 0. The working URL outputs the test and passes normally:
varfrisby=require('frisby');frisby.create('We should be able to GET a URL').get('https://google.com').expectStatus(200).toss();
I'm running with frisby@0.6.8 and jasmine-node@1.10.2.
Surely, the test with the bad URL should fail instead of exit cleanly. Any ideas what might be happening?
The text was updated successfully, but these errors were encountered:
Interesting. I know it's throwing that Exception, because I fixed it at some point, but it looks like it's getting trapped somewhere else. I'll investigate this further.
We ran into an issue when writing some tests where
jasmine-node
was actually just exiting with0
even though nothing was happening! It turns out, one of the URLs in our frisby test was bad. Here is an example:When run with
jasmine-node --verbose
, this silently exits with0
. The working URL outputs the test and passes normally:I'm running with
frisby@0.6.8
andjasmine-node@1.10.2
.Surely, the test with the bad URL should fail instead of exit cleanly. Any ideas what might be happening?
The text was updated successfully, but these errors were encountered: