Skip to content

Commit b2cd5b7

Browse files
committed
set CORS_ALLOW_ORIGINS on test because it can't load .env
1 parent 6c6aecb commit b2cd5b7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ test: export DATABASE_URL=$(LOCAL_DB)
3636
test: export NEVER_LOAD_DOTENV=1
3737
test: export UNSAFE_SKIP_AUTH=1
3838
test: export FIREBASE_PROJECT_ID=mock-proj
39+
test: export CORS_ALLOW_ORIGINS="http://localhost:3000"
3940
test: dev-db
4041
cd server/src; ENV_FILE=../.env.dev bun test
4142
cd ./test; ENV_FILE=../server/.env.dev bun test

0 commit comments

Comments
 (0)