-
Notifications
You must be signed in to change notification settings - Fork 782
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
Generate a failure when QUnit.start is passed a non-numeric argument #846
Comments
I'd love to submit a pull request, but I'm not sure what the best way to handle this situation is. I suppose throwing an exception for an invalid value would make sense, but is there a better way? |
You should probably use |
@platinumazure is this still something you want to work on? |
Ack, sorry, I've been busy with a bunch of other things. If anyone wants to jump on this now feel free. |
Hello, I would like to make a pull request if possible. Should |
Given that it's already a configuration failure, I don't think the value matters much. But I suppose |
Ref #844
When
QUnit.start
is passed a truthy but non-numeric argument, its test semaphore decrement setsconfig.current.semaphore
toNaN
. Such a condition should generate output analogous to the "Called start() while already started…" failure presented whensemaphore
dips below zero.The text was updated successfully, but these errors were encountered: