Replies: 1 comment
-
I found the answer in an issue.
please update your docs for 5 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
chai 5.1.2
Documentation is outdated says chai is export of chai but it is not, it is also no longer a default so can't grab it that way
https://www.chaijs.com/guide/using-chai-with-esm-and-plugins/
How to receareate pre 5 syntax?
this fails
The requested module 'chai' does not provide an export named 'chai'
import chai, { expect } from 'chai';
SyntaxError: The requested module 'chai' does not provide an export named 'default'
Beta Was this translation helpful? Give feedback.
All reactions