MCPcopy
hub / github.com/mswjs/msw / cors.test.ts

File cors.test.ts

test/browser/rest-api/cors.test.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import { HttpServer } from '@open-draft/test-server/lib/http.js'
2import { test, expect } from '../playwright.extend'
3
4const server = new HttpServer((app) => {

Callers

nothing calls this directly

Calls 10

nextFunction · 0.85
testFunction · 0.85
loadExampleFunction · 0.85
fetchFunction · 0.85
useMethod · 0.80
urlMethod · 0.80
textMethod · 0.80
sendMethod · 0.45
listenMethod · 0.45
closeMethod · 0.45

Tested by

no test coverage detected