MCPcopy Create free account
hub / github.com/TanStack/devtools / findPlugin

Function findPlugin

packages/devtools-vite/tests/index.test.ts:23–25  ·  view source on GitHub ↗
(plugins: Array<Plugin>, name: string)

Source from the content-addressed store, hash-verified

21
22// Helper to find a plugin by name from the array returned by devtools()
23function findPlugin(plugins: Array<Plugin>, name: string): Plugin | undefined {
24 return plugins.find((p) => p.name === name)
25}
26
27// Helper to create a mock Vite server
28function createMockServer(

Callers 1

index.test.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected