-
Notifications
You must be signed in to change notification settings - Fork 378
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
Mocha's done() invoked with non-Error #74
Comments
The easiest way is probably adding it to the chain individually: F('something').exists('Something exists');
F(done); |
hmm, that looks kind of confusing, though |
Well you could also F('something').exists('Something exists').then(done); What data is the |
It's a Mocha error with FuncUnit's argument data: [Log] [ (func.js, line 14)
Object[1]
0: something
context: html
frame: Object
length: 1
prevObject: Object[1]
selector: "something"
__proto__: Object[0]
] The same issue occurs with |
Maybe we can have @alexisabril look into this. |
It's possible that it's an issue in Mocha. I've opened this: mochajs/mocha#1187 |
I don't think it is. If you call it with |
throws an error. Must we really do this instead?:
The text was updated successfully, but these errors were encountered: