Loading...
Loading...
Current MSW v2 guidance for request handlers, Node/browser setup, HTTP and GraphQL mocking, test isolation, timing, and debugging. General test framework patterns are covered by vitest and methodology by tdd.
npx skill4agent add pymodel/react-frontend-skills msw| Priority | Category | Impact | Prefix |
|---|---|---|---|
| 1 | Setup & Initialization | CRITICAL | |
| 2 | Handler Architecture | CRITICAL | |
| 3 | Test Integration | HIGH | |
| 4 | Response Patterns | HIGH | |
| 5 | Request Matching | MEDIUM-HIGH | |
| 6 | GraphQL Mocking | MEDIUM | |
| 7 | Advanced Patterns | MEDIUM | |
| 8 | Debugging & Performance | LOW | |
setup-server-node-entrypointsetup-lifecycle-hookssetup-worker-script-commitsetup-node-versionsetup-unhandled-requestssetup-typescript-confighandler-happy-path-firsthandler-domain-groupinghandler-absolute-urlshandler-shared-resolvershandler-v2-response-syntaxhandler-request-body-parsinghandler-resolver-argumenthandler-reusability-environmentstest-reset-handlerstest-avoid-request-assertionstest-concurrent-boundarytest-fake-timers-configtest-async-utilitiestest-clear-request-cachetest-jsdom-environmentresponse-http-response-helpersresponse-delay-realisticresponse-error-simulationresponse-one-time-handlersresponse-custom-headersresponse-streamingmatch-url-patternsmatch-query-paramsmatch-custom-predicatematch-http-methodsmatch-handler-ordergraphql-operation-handlersgraphql-error-responsesgraphql-batched-queriesgraphql-variables-accessadvanced-bypass-requestsadvanced-cookies-authadvanced-dynamic-scenariosadvanced-vitest-browseradvanced-file-uploadsdebug-lifecycle-eventsdebug-verify-interceptiondebug-common-issuesdebug-request-loggingreferences/{prefix}-{slug}.mdtanstack-queryvitesttddAGENTS.md