mocha-chai-jest-snapshot
mocha-chai-jest-snapshot copied to clipboard
latest version of mocha-chai-jest-snapshot is not compatible with chai@"^5.0.0"
Will there be any release to catch up chai@"^5.0.0" as I can not update my chai with : npm WARN Could not resolve dependency: npm WARN peer chai@"^4.3.6" from [email protected]
Same problem here.
Same here
This appears to be the best snapshotting lib for mocha/chai. At which point do we fork this and continue maintaining?
Sorry for the delayed response. I was on a long trip. I’ll check on it.
I’ve realized that there are various heavy obstacles to supporting ESModules. I give up to support it. sorry. Contribution are always welcome.
I looked at your setup and indeed, the integration tests would be a challenge to rework to support ESM
That said, it should not be necessary to convert the entire package to ESM in order to work with chai v5. Not even a peer dependency on chai is necessary after applying a small change.
PR: https://github.com/mochiya98/mocha-chai-jest-snapshot/pull/21
Good idea! I'll check it out...
fixed in 1.1.6 (thanks @tpluscode !)