CtrlK
BlogDocsLog inGet started
Tessl Logo
PluginPublic

testland/msw-handlers

Use when JavaScript or TypeScript tests need to mock fetch or XHR calls to an HTTP API, such as replacing hand-rolled fetch mocks or testing loading and error responses, in Vitest or Jest and in Cypress or Playwright: writes Mock Service Worker handlers (`http.get`, `http.post`, `HttpResponse.json`), wires `setupServer` (Node) or `setupWorker` (browser), and manages the `listen` / `resetHandlers` / `close` lifecycle.

1.00x
Quality

92%

Does it follow best practices?

Impact

100%

1.00x

Average score across 10 eval scenarios

SecuritybySnyk

Passed

No findings from the security scan

Overview
Quality
Evals
Security
Files

No evals yet.

The owner of this plugin can generate scenarios and run an eval with the Tessl CLI.

tessl scenario generate
tessl eval run
Read the evals guide