From 9b254c1cd0d9aa22d6bea59d24d6969bceef228f Mon Sep 17 00:00:00 2001 From: Eric Ciarla Date: Fri, 14 Jun 2024 09:48:14 -0400 Subject: [PATCH] Update index.test.ts --- apps/api/src/__tests__/e2e_withAuth/index.test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/api/src/__tests__/e2e_withAuth/index.test.ts b/apps/api/src/__tests__/e2e_withAuth/index.test.ts index b7f03da..a4a427c 100644 --- a/apps/api/src/__tests__/e2e_withAuth/index.test.ts +++ b/apps/api/src/__tests__/e2e_withAuth/index.test.ts @@ -478,7 +478,7 @@ describe("E2E Tests for API Routes", () => { urls.forEach((url: string) => { const pathSplits = new URL(url).pathname.split('/'); const depth = pathSplits.length - (pathSplits[0].length === 0 && pathSplits[pathSplits.length - 1].length === 0 ? 1 : 0); - expect(depth).toBeLessThanOrEqual(0); + expect(depth).toBeLessThanOrEqual(1); }); }, 120000);