Closed mandrewpowers closed 6 years ago
Right, per the readme parens are not supported. Not sure why you started doing that. called is indeed not a function.
The docs do not explicitly state that parens will not work in this case. Also, why are they not supported? Ever other chai call without not* works perfectly fine.
I guess this is just a chai standard I just do not like (didn't pick which framework we used); sorry to bother you.
In my test the following does what I'd expect:
but if I add parens to the end like I normally do I get an exception:
This only occurs when I add
.not.
to the chain.