You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Chai's API allows exist to be use either as a property, or as a function: expect(foo).to.exist();. However, when using chai-jquery (on non-jQuery object) only the former option can be used; when trying to call exists(), you can an "object is not a function" error.
The text was updated successfully, but these errors were encountered:
Chai's API allows
exist
to be use either as a property, or as a function:expect(foo).to.exist();
. However, when using chai-jquery (on non-jQuery object) only the former option can be used; when trying to callexists()
, you can an "object is not a function" error.The text was updated successfully, but these errors were encountered: