-
Notifications
You must be signed in to change notification settings - Fork 109
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
'true' is not a function #74
Comments
Indeed, you must use |
Is it not possible to match the core Chai behavior of returning a chainable method? I'm not very familiar with the plugin arch, but I suspect it is. |
That Chai behavior was reverted in Chai. |
Ah, sure enough: chaijs/chai#306. Still present in my npm-installed module from yesterday, notably. Thanks for your time. |
This was referenced Feb 6, 2015
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I am executing:
..which results in:
The assertion executes properly if
true
is not called (i.e. drop the parens), but results in linting issues (seetrue
,ok
, etc.).The original Chai behavior of allowing the getter to return a function appears not to be preserved.
The text was updated successfully, but these errors were encountered: