test(server): move env variables into playwright config (#4384)

This commit is contained in:
LongYinan
2023-09-15 17:56:26 -07:00
committed by GitHub
parent acecb4bf69
commit 70e731e066
2 changed files with 2 additions and 3 deletions
+2
View File
@@ -53,6 +53,8 @@ const config: PlaywrightTestConfig = {
ENABLE_LOCAL_EMAIL: process.env.ENABLE_LOCAL_EMAIL ?? 'true',
NEXTAUTH_URL: 'http://localhost:8080',
OAUTH_EMAIL_SENDER: 'noreply@toeverything.info',
OAUTH_EMAIL_LOGIN: 'noreply@toeverything.info',
OAUTH_EMAIL_PASSWORD: 'affine',
},
},
],