Skip to content

Commit

Permalink
chore: remove a duplicate call in init.test (#1319)
Browse files Browse the repository at this point in the history
* chore: remove duplicate call in init.test

* chore: add changeset

---------

Co-authored-by: shadcn <[email protected]>
  • Loading branch information
K-Sato1995 and shadcn committed Aug 24, 2023
1 parent 33a5fc7 commit 4506822
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
5 changes: 5 additions & 0 deletions .changeset/new-jeans-doubt.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"shadcn-ui": patch
---

remove duplicate vi call
6 changes: 0 additions & 6 deletions packages/cli/test/commands/init.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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(),
Expand Down

0 comments on commit 4506822

Please sign in to comment.