The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.
TypeScript clickhousemysqlnextjsopen-sourceplanetscaleprismatailwindcsstinybirdtypescriptupstashvercel
debug the tests
Kiran Ka3bff84e02f1
diff --git a/apps/web/package.json b/apps/web/package.jsonindex cace9cafa5..97897e8767 100644--- a/apps/web/package.json+++ b/apps/web/package.json@@ -8,7 +8,7 @@"lint": "next lint","start": "next start","script": "tsx ./scripts/run.ts",- "test": "vitest -no-file-parallelism --bail=1",+ "test": "vitest -no-file-parallelism --bail=1 webhooks","generate-openapi": "tsx ./scripts/generate-openapi.ts","prisma:generate": "dotenv-flow -e .env -- pnpm --filter=@dub/prisma generate","prisma:push": "dotenv-flow -e .env -- pnpm --filter=@dub/prisma push",diff --git a/apps/web/tests/webhooks/index.test.ts b/apps/web/tests/webhooks/index.test.tsindex 6d43c2bf0e..54308f5187 100644--- a/apps/web/tests/webhooks/index.test.ts+++ b/apps/web/tests/webhooks/index.test.ts@@ -101,7 +101,9 @@ const assertQstashMessage = async (expect(receivedBody.event).toEqual(trigger);expect(receivedBody.data).toEqual(body);- expect(eventSchemas[trigger].safeParse(receivedBody.data).success).toBe(true);+ eventSchemas[trigger].parse(receivedBody.data)++ // expect(eventSchemas[trigger].safeParse(receivedBody.data).success).toBe(true);};// TODO: