Airbnb migrates 3.5K Enzyme test files to React Testing Library with LLMs in 6 weeks
Airbnb needed to migrate nearly 3.5K React component test files from Enzyme to React Testing Library, but the frameworks differed too fundamentally to automate simply, and deleting the files would create significant code coverage gaps. Manual migration was estimated at 1.5 years of engineering time.
Using LLMs and a step-based automation pipeline with retry loops, Airbnb migrated 75% of files in the first four-hour bulk run and reached 97% automation after four days of refinement, completing the full 3.5K-file migration in just 6 weeks — against a 1.5-year manual estimate — while maintaining original test intent and code coverage.
Show all 6 reported metrics
Frequently asked questions
What did this team achieve with this AI workflow?
Using LLMs and a step-based automation pipeline with retry loops, Airbnb migrated 75% of files in the first four-hour bulk run and reached 97% automation after four days of refinement, completing the full 3.5K-file mi…
What tools did this team use?
React Testing Library, Enzyme, frontier models.
What results were reported?
Manual migration estimate: 1.5 years; Actual migration completion time: 6 weeks; Target test files: 3.5K; Files migrated in first bulk run: 75% (source-reported, not independently verified).
How is this quality assurance AI workflow structured?
Migration initiation → State machine validation → LLM fixes failed validation → Dynamic retry loop → Rich context prompting → Sample, tune, sweep loop → Manual completion of residual files → Migration output.