MCPcopy
hub / github.com/shadcn-ui/ui / runSearch

Function runSearch

packages/tests/src/tests/search.test.ts:6–8  ·  view source on GitHub ↗
(fixturePath: string, args: string[])

Source from the content-addressed store, hash-verified

4import { configureRegistries, createRegistryServer } from "../utils/registry"
5
6async function runSearch(fixturePath: string, args: string[]) {
7 return npxShadcn(fixturePath, [...args, "--json"])
8}
9
10const registryShadcn = await createRegistryServer(
11 [

Callers 1

search.test.tsFile · 0.85

Calls 1

npxShadcnFunction · 0.90

Tested by

no test coverage detected