MCPcopy Index your code
hub / github.com/wheresrhys/fetch-mock

github.com/wheresrhys/fetch-mock @fetch-mock-v12.6.0

Chat with this repo
repository ↗ · DeepWiki ↗ · release fetch-mock-v12.6.0 ↗ · + Follow
160 symbols 493 edges 62 files 0 documented · 0% 25 cross-repo links
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

fetch-mock monorepo

Where fetch-mock and a growing suite of utilities aimed at different testing frameworks lives.

Extension points exported contracts — how you extend this code

Expect (Interface)
(no doc)
packages/jest/src/index.ts
DerivedRequestOptions (Interface)
(no doc)
packages/fetch-mock/src/RequestUtils.ts
Assertion (Interface)
(no doc)
packages/vitest/src/vitest-extensions.ts
Matchers (Interface)
(no doc)
packages/jest/src/index.ts
AsymmetricMatchersContaining (Interface)
(no doc)
packages/vitest/src/vitest-extensions.ts

Core symbols most depended-on inside this repo

fetchHandler
called by 230
packages/fetch-mock/src/FetchMock.ts
route
called by 196
packages/fetch-mock/src/FetchMock.ts
catch
called by 46
packages/fetch-mock/src/FetchMock.ts
createInstance
called by 44
packages/fetch-mock/src/FetchMock.ts
done
called by 35
packages/fetch-mock/src/CallHistory.ts
mockGlobal
called by 32
packages/fetch-mock/src/FetchMock.ts
calls
called by 31
packages/fetch-mock/src/CallHistory.ts
called
called by 29
packages/fetch-mock/src/CallHistory.ts

Shape

Method 69
Function 68
Class 18
Interface 5

Languages

TypeScript100%

Modules by API surface

packages/fetch-mock/src/Route.ts21 symbols
packages/fetch-mock/src/FetchMock.ts20 symbols
packages/fetch-mock/src/Router.ts18 symbols
packages/fetch-mock/src/TypeDescriptor.ts16 symbols
packages/fetch-mock/src/Matchers.ts13 symbols
packages/fetch-mock/src/CallHistory.ts12 symbols
packages/fetch-mock/src/RequestUtils.ts9 symbols
packages/jest/src/index.ts8 symbols
packages/vitest/src/index.ts6 symbols
packages/vitest/src/vitest-extensions.ts5 symbols
packages/jest/src/jest-extensions.ts3 symbols
packages/jest/src/__tests__/custom-jsdom-environment.ts3 symbols

For agents

$ claude mcp add fetch-mock \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page