Skip to content

Commit

Permalink
moves client test env vars to playwright.config.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
agnlez committed Oct 11, 2024
1 parent 631a376 commit bc57aeb
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
3 changes: 0 additions & 3 deletions client/.env.test

This file was deleted.

5 changes: 5 additions & 0 deletions e2e/playwright.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,11 @@ export default defineConfig({
"NODE_ENV=test pnpm --filter client run build && NODE_ENV=test pnpm --filter client run start",
url: APP_URL,
reuseExistingServer: !process.env.CI,
env: {
NEXTAUTH_URL: APP_URL,
NEXT_PUBLIC_API_URL: API_URL,
NEXTAUTH_SECRET: "WAzjpS46vFxp17TsRDU3FXo+TF0vrfy6uhCXwGMBUE8="
}
},
],
testDir: "./tests",
Expand Down

0 comments on commit bc57aeb

Please sign in to comment.