Open gian1200 opened 4 weeks ago
Migration to ESM is almost complete. However I'm facing an issue.
Looks like Jest does not have an stable version compatible with ESM. It currently only provides an experimental support. However not all commit-and-tag-version
tests run correctly in this mode.
I've read that some suggest to migrate to Vitest while others to Mocha. I've not used Vitest
, but I do have some experience with Mocha. Migration looks doable on any of them.
@TimothyJones do you have any opinion or suggestion regarding this?
I feel like the community is moving towards vitest, and it's supposed to be jest compatible these days - shall we try that?
And, thanks again for all your hard work on this - so so much appreciated!!
No problem. To be fair, I'm partially motivated by the fix that is available in the last version 😅.
Regarding Vitest, it's something I've never used, but will try to implement it (in a separate PR).
DO NOT MERGE: Tests pending
Summary
defaults.mjs
)npm run release
doesn't work)