MCPcopy
hub / github.com/mswjs/msw / use

Function use

src/core/experimental/setup-api.ts:40–42  ·  view source on GitHub ↗
(...runtimeHandlers: Array<AnyHandler>)

Source from the content-addressed store, hash-verified

38 }
39
40 public use(...runtimeHandlers: Array<AnyHandler>): void {
41 this.handlersController.use(runtimeHandlers)
42 }
43
44 public restoreHandlers(): void {
45 this.handlersController.restore()

Callers 10

createServerFunction · 0.50
webpackServerFunction · 0.50
loadExampleFunction · 0.50
waitForFunction · 0.50
waitForMswActivationFunction · 0.50
fetchFunction · 0.50
queryFunction · 0.50
makeUrlFunction · 0.50
spyOnConsoleFunction · 0.50
defineWebSocketServerFunction · 0.50

Calls 1

useMethod · 0.80

Tested by

no test coverage detected