Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Relevant: The codebase I worked on was to huge and too uncovered by tests to modify automatically. The pain point was jest tests, due to barrel files. I ended up making this plugin that is meant to do codemods only durring jest tests, skips all re-exports and thus barrel files. Performance of tests have gone 2x

Having legacy codebases in mind, I built in utilities to skip modifying code that breaks when modified

https://github.com/gtsop/babel-jest-boost



This looks great, thanks for sharing!




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: