mirror of
https://github.com/shadcn-ui/ui.git
synced 2026-07-08 06:28:37 +00:00
fix
This commit is contained in:
@@ -129,7 +129,7 @@ describe("shadcn init - vite-app", () => {
|
||||
"utf-8"
|
||||
)
|
||||
expect(alertDialogContent).toContain(
|
||||
'import { buttonVariants } from "#custom/components/ui/button"'
|
||||
'import { Button } from "#custom/components/ui/button"'
|
||||
)
|
||||
expect(alertDialogContent).toContain(
|
||||
'import { cn } from "#custom/lib/utils"'
|
||||
|
||||
@@ -182,7 +182,6 @@ describe("shadcn view", () => {
|
||||
expect(parsed[0]).toMatchObject({
|
||||
name: "button",
|
||||
type: "registry:ui",
|
||||
dependencies: ["@radix-ui/react-slot"],
|
||||
files: expect.arrayContaining([
|
||||
expect.objectContaining({
|
||||
path: "registry/new-york-v4/ui/button.tsx",
|
||||
@@ -209,7 +208,6 @@ describe("shadcn view", () => {
|
||||
{
|
||||
name: "alert-dialog",
|
||||
type: "registry:ui",
|
||||
dependencies: ["@radix-ui/react-alert-dialog"],
|
||||
registryDependencies: ["button"],
|
||||
files: expect.arrayContaining([
|
||||
expect.objectContaining({
|
||||
|
||||
Reference in New Issue
Block a user