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
I ideally would like to add this project and use it for my e2e unit tests, using jest. I've come into the issue of getting Jest to play nicely with the cjs version of the project. However, I am curious if we could add documentation or better accommodate Jest support?
The text was updated successfully, but these errors were encountered:
I think @adamraine merge, make cjs the main entry point, might actually make the issue I was facing resolved. Since the current library uses ESM version as entry point, Jest errors out. Jest is not really compatible with ESM, without some configuration tweaks. Also, I had to require the full path for cjs, and I did loose typing info along the way. But now I think this should be resolved. I'll test and confirm, thank you.
I ideally would like to add this project and use it for my e2e unit tests, using jest. I've come into the issue of getting Jest to play nicely with the cjs version of the project. However, I am curious if we could add documentation or better accommodate Jest support?
The text was updated successfully, but these errors were encountered: