I'm maintaining a TypeScript library, which has up to 2*4 formats of build target (dev/prod, ESM/CJS/UMD/ESM-for-browser). Unlike other versions, UMD and ESM-for-browser provide a single file produced by rollup. Besides, the 'dev' version has two more components than the prod version, not just diagnostic information.
Is it necessary for me to test all these versions? If so, how to test?
I know very well how to test in JS-level, but get tired receiving countless warning on TS.
It would be great if your solution use Jest.
Aucun commentaire:
Enregistrer un commentaire