diff --git a/.changeset/new-jeans-doubt.md b/.changeset/new-jeans-doubt.md new file mode 100644 index 00000000000..04708eec284 --- /dev/null +++ b/.changeset/new-jeans-doubt.md @@ -0,0 +1,5 @@ +--- +"shadcn-ui": patch +--- + +remove duplicate vi call diff --git a/packages/cli/test/commands/init.test.ts b/packages/cli/test/commands/init.test.ts index 9cc6eea1c16..ad2a7023b1b 100644 --- a/packages/cli/test/commands/init.test.ts +++ b/packages/cli/test/commands/init.test.ts @@ -8,12 +8,6 @@ import { getConfig } from "../../src/utils/get-config" import * as getPackageManger from "../../src/utils/get-package-manager" import * as registry from "../../src/utils/registry" -vi.mock("execa") -vi.mock("fs/promises", () => ({ - writeFile: vi.fn(), - mkdir: vi.fn(), -})) - vi.mock("execa") vi.mock("fs/promises", () => ({ writeFile: vi.fn(),