diff --git a/packages/shadcn/src/utils/file-helper.test.ts b/packages/shadcn/src/utils/file-helper.test.ts index 52f43f83fc..5b8c34db33 100644 --- a/packages/shadcn/src/utils/file-helper.test.ts +++ b/packages/shadcn/src/utils/file-helper.test.ts @@ -52,11 +52,9 @@ describe("withFileBackup", () => { const consoleErrorSpy = vi .spyOn(console, "error") .mockImplementation(() => {}) - const renameSyncSpy = vi - .spyOn(fs, "renameSync") - .mockImplementation(() => { - throw new Error("boom") - }) + const renameSyncSpy = vi.spyOn(fs, "renameSync").mockImplementation(() => { + throw new Error("boom") + }) await expect( withFileBackup(filePath, async () => {