-
Notifications
You must be signed in to change notification settings - Fork 81
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Faster Jasmine runner exception detection. (See #112)
This adds a check to see if Jasmine is available by looking at `window.jasmine`. If so, the normal waiting for the spec results happens until the given timeout is reached. If Jasmine is missing, then it's very likely that an exception is show by the Rails error page (which of course doesn't include Jasmine). In that case fail the specs with the body text as error message, so that diagnosis directly in the console is possible.
- Loading branch information
Showing
2 changed files
with
45 additions
and
7 deletions.
There are no files selected for viewing
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
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