Comment

Comment by gtsop

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

parent gtsop 2 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton