Skip to content

Commit 7f9be32

Browse files
committed
fix(test): add env vars
1 parent c6bf158 commit 7f9be32

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

apps/server/vitest.config.ts

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,15 @@ export default defineWorkersProject(async () => {
2323
// setup file
2424
bindings: {
2525
TEST_MIGRATIONS: migrations,
26+
GITHUB_CLIENT_ID: "xxx",
27+
GITHUB_CLIENT_SECRET: "xxx",
28+
JWT_SECRET: "test",
29+
ACCOUNT_ID: "test",
30+
R2_BUCKET_NAME: "test",
31+
R2_ACCESS_KEY_ID: "test",
32+
R2_SECRET_ACCESS_KEY: "test",
33+
ENABLE_ACCOUNT_REGISTRATION: "true",
34+
SERVER_URL: "http://localhost:5173",
2635
},
2736
r2Buckets: ["STORAGE_BUCKET"],
2837
},

0 commit comments

Comments
 (0)