DEV Community

Discussion on: A look back at my first published npm library 5 years ago

Collapse
 
fenok profile image
Leonid Fenko

Great article, it certainly motivated me to figure out how GitHub Actions work and set them up for my own projects already 😅
One question though: did I get it right that Babel is being used only for testing? And if so, isn't it easier to use ts-jest instead? It seems to be more powerful and easier to set up. Am I missing something?

Collapse
 
antoniovdlc profile image
Antonio Villagra De La Cruz

Thanks for taking the time to read the article!

ts-jest is definitely a great alternative to using babel. I didn't look too much into it, because my reasoning here was that I didn't particularly need type checking for the tests, and I could live with the limitations of using babel (kulshekhar.github.io/ts-jest/docs/...), but I guess that would depend on your requirements.