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

Function createInitializedProject

packages/tests/src/tests/apply.test.ts:12–17  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

10} from "../utils/helpers"
11
12async function createInitializedProject() {
13 const fixturePath = await createFixtureTestDirectory("next-app")
14 await npxShadcn(fixturePath, ["init", "--defaults"])
15 await npxShadcn(fixturePath, ["add", "button"])
16 return fixturePath
17}
18
19async function createInitializedRtlProject() {
20 const fixturePath = await createFixtureTestDirectory("next-app")

Callers 1

apply.test.tsFile · 0.85

Calls 2

npxShadcnFunction · 0.90

Tested by

no test coverage detected