🐛 Set test env for backend server
Tim Izzo tim@5ika.ch
Fri, 15 Sep 2023 16:29:36 +0200
2 files changed,
1 insertions(+),
1 deletions(-)
M
frontend/playwright.config.ts
→
frontend/playwright.config.ts
@@ -82,7 +82,7 @@ url: 'http://localhost:3000',
reuseExistingServer: !process.env.CI, }, { - command: 'cd ../backend && yarn start', + command: 'cd ../backend && NODE_ENV=test yarn start', url: 'http://localhost:1337', reuseExistingServer: true, timeout: 200000,