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

tile.json

{
  "name": "testland/msw-handlers",
  "version": "1.3.8",
  "summary": "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.",
  "private": false,
  "skills": {
    "msw-handlers": {
      "path": "SKILL.md"
    }
  }
}

SKILL.md

tile.json