I would like to use ESM actually, but since I'm unable to make Jest work with ESM, my only option is to use CJS. Since occasionally my code has ESM, especially when copying from the internet (even Jest's docs occasionally have ESM code), I want VS Code suggest me to convert ESM to CJS, not the other way around. Is there a way to do so?
Asked
Active
Viewed 24 times