Skip to content

armgit / dub

Public Imported from GitHub
0

The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.

fix tests

Steven Tey8b114ac9eaa6
diff --git a/apps/web/tests/folders/index.test.ts b/apps/web/tests/folders/index.test.ts
index 649914ae37..d624ca4428 100644
--- a/apps/web/tests/folders/index.test.ts
+++ b/apps/web/tests/folders/index.test.ts
@@ -1,6 +1,5 @@
import z from "@/lib/zod";
import { FolderSchema } from "@/lib/zod/schemas/folders";
-import { FolderType } from "@prisma/client";
import { randomId } from "tests/utils/helpers";
import { describe, expect, test } from "vitest";
import { IntegrationHarness } from "../utils/integration";
@@ -9,7 +8,7 @@ type FolderRecord = z.infer<typeof FolderSchema>;
const expectedFolder = {
id: expect.any(String),
- type: FolderType.default,
+ type: "default",
linkCount: expect.any(Number),
createdAt: expect.any(String),
updatedAt: expect.any(String),