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
… but in both cases following this instruction will not set the chai global variable but instead will cause the browser to issue the following error message:
This repo is broken at ^5.0.
I'm trying to do tests on a Chrome extension and the incorrect documentation leaves me with an annoyed feeling about Chai.
I am making a product people will be paying for and I need to make sure it works correctly.
If I make a library for others to use for free, I will make sure it works and is updated or else what's the point?
Please fix this.
Did you try what I mentioned in my last comment? If that works for you, it is just a miss in docs and we can update
We could have done better with updating the docs when we released 5.x, given it is a fairly big breaking change (esm only). We are doing what we can to update but could do with clearer issues than telling us the repo is broken - so we can help out
The documentation on the chai website says:
and the documentation in this repository's README says:
… but in both cases following this instruction will not set the
chai
global variable but instead will cause the browser to issue the following error message:It is unclear what the correct instructions for v5.0.0 and later should be.
One viable workaround is:
The text was updated successfully, but these errors were encountered: