Skip to content

Commit

Permalink
feat: allow us to configure the server port for local testing
Browse files Browse the repository at this point in the history
  • Loading branch information
stefl committed Oct 29, 2024
1 parent c332717 commit 0ea470a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion apps/nextjs/tests-e2e/config/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@ dotenv.config({ path: path.join(process.cwd(), ".env") });

export const TEST_USER_EMAIL = process.env.TEST_USER_EMAIL;
export const TEST_USER_PASSWORD = process.env.TEST_USER_PASSWORD;
export const PORT = process.env.PORT ?? 2525;
export const TEST_BASE_URL =
process.env.TEST_BASE_URL || "http://localhost:2525";
process.env.TEST_BASE_URL || `http://localhost:${PORT}`;
export const VERCEL_AUTOMATION_BYPASS_SECRET =
process.env.VERCEL_AUTOMATION_BYPASS_SECRET;

0 comments on commit 0ea470a

Please sign in to comment.