router-act
How to write end-to-end tests using createRouterAct and LinkAccordion. Use when writing or modifying tests that need to control the timing of internal Next.js requests (like prefetches) or assert on their responses. Covers the act API, fixture patterns, prefetch control via LinkAccordion, fake clocks, and avoiding flaky testing patterns.
Source details
Read SKILL.md ↗ · Browse skill folder ↗
vercel/next.js
.agents/skills/router-act/SKILL.mdPinned revision 798f6f3fab2a194cdb6b96240de3c4ff92b08d2a
Source checked
Reviewed licence: MIT
repository
Reviewed publisher revision ↗ · 2026-11-22
This indexed source has a different revision. Verify its applicable terms before use.
This skill page is available in English. Publisher instructions stay in their original language.