Breakwater replaces Spectator across about 1,500 Angular test files in 3 days of engineering by pairing a codemod with Claude Code
After Spectator's maintainers took down its source, Breakwater needed to move about 1,500 Angular test files across roughly 40 micro frontends and 130 libraries to a new internal testing library. Instead of handing every file to an agent, an engineer wrote a syntax-tree codemod that never guessed: anything it could not convert safely got a TODO comment with one of about 15 known reasons. Claude Code then ran the codemod project by project and fixed only the failing tests and TODO lines, adding missing helpers to the shared library. A wrapper script cut test output down to failure details, and a project counted as done only when its tests passed and no Spectator imports remained. Work ran in three waves (shared libraries first, largest apps last with a dedicated agent each), tracked in a markdown checklist.
The numbers (as reported)
| Test files | Roughly 1,500 relying on Spectator |
|---|---|
| Scope | About 40 micro frontends and 130 libraries |
| Duration | 3 days of engineering |
| Agent usage | 24% of one weekly Claude Code limit (Team standard plan) |
Facts
- Company / subject
- Breakwater Technology
- Tools
- Claude Code
- Codebase
- brownfield
- Work type
- Test migration
- Stack
- Angular, TypeScript
- Published
- 2026-11-04
- Last checked
- 2026-11-17
What the source claims Practitioner (own blog/paper)
Claimed by the builder, writing about their own work. Not checked independently.
- The whole migration took 3 days of engineering 3 days
“The whole migration took just 3 days of engineering”
- It used only 24% of one weekly Claude Code limit 24%
Caveats
Self-reported by the engineer who did the work, on the company blog. Most of the work was done by a deterministic codemod; the agent fixed what the script could not. No count of PRs, agent-fixed files or bugs found after the migration. The 24% figure is a share of a plan's weekly usage limit, not a cost. The author notes Claude helped edit the article.
More stories by tool: Claude Code
Related topics: Test migrationsBrownfield codebases