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.

Update folder-link-access.test.ts

Kiran Kc0ddd9c95f4e
diff --git a/apps/web/tests/links/folder-link-access.test.ts b/apps/web/tests/links/folder-link-access.test.ts
index 12c445c968..eda799085c 100644
--- a/apps/web/tests/links/folder-link-access.test.ts
+++ b/apps/web/tests/links/folder-link-access.test.ts
@@ -1,4 +1,5 @@
import { Link } from "@dub/prisma/client";
+import { env } from "tests/utils/env";
import { describe, expect, test } from "vitest";
import { IntegrationHarness } from "../utils/integration";
import {
@@ -10,7 +11,9 @@ import {
const { domain, url } = E2E_LINK;
-describe.sequential("Folder Access Tests", async () => {
+// Most of the below tests would only run if you have write values set in the resource.ts file
+
+describe.runIf(env.CI).sequential("Folder access", async () => {
const h = new IntegrationHarness();
const { http } = await h.init();