WorkedCoding
Migrate ~3,500 test files from Enzyme to React Testing Library
Tools: LLM pipeline (Airbnb internal), Jest, TypeScript, ESLint
Setup, access, approval gate, failure notes
- Setup / prompt
- Per-file state machine: refactor → validate (tests, lint, types) → retry with error context; prompts tuned on failures.
- Access required
- Repo branch; CI validation; no production access
- HITL checkpoint
- Engineers reviewed output and manually fixed the last <100 files
- Outcome & failure notes
- 75% migrated in 4 hours, 97% after 4 days of prompt tuning; finished in 6 weeks versus an estimated 1.5 years by hand. The win came from validation and retries, not one-shot prompting.
- Evidence type
- Engineering blog (company-reported)
Source: Airbnb Engineering · 2025-03 · Checked 2026-10-19