fix(e2e): pass Clerk publishable key into Cypress env

This commit is contained in:
Kunal
2026-02-07 17:14:46 +00:00
parent cad1cfbd09
commit 211308ef13

View File

@@ -1,10 +1,6 @@
import { defineConfig } from "cypress"; import { defineConfig } from "cypress";
export default defineConfig({ export default defineConfig({
env: {
// Expose Clerk publishable key to tests (used to compute Clerk origin for cy.origin).
NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY: process.env.NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY,
},
e2e: { e2e: {
baseUrl: "http://localhost:3000", baseUrl: "http://localhost:3000",
video: false, video: false,