-
Notifications
You must be signed in to change notification settings - Fork 30
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Jasmine test timeout is ignored #45
Comments
Had the same issue, you can work around it by setting the global timeout value:
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
**I'm submitting a ... **
Do you want to request a feature or report a bug?
Report a bug
When a Jasmine test has a test timeout like this:
The resulting failure uses the default Jasmine timeout of 5000 ms instead of the specified timeout of 1 ms.
The problem is that the wrapping function ignores any parameter after the test definition:
https://github.com/joeljeske/karma-parallel/blob/master/lib/karma-parallelizer.js#L111
I can try to prepare a repro if needed.
The custom timeout specified for the test should be used.
The suggested fix is to pass along all arguments (extracted via
arguments
perhaps) to the wrapped function.The text was updated successfully, but these errors were encountered: