diff --git a/core/api/BUCK b/core/api/BUCK index 1e8d95c08c..976a51c6e0 100644 --- a/core/api/BUCK +++ b/core/api/BUCK @@ -180,9 +180,27 @@ dev_pnpm_task_test( jest_test( name = "unit-tests", - srcs = [":src"] + [":test_src"] + glob([".env", "galoy.yaml"]), + srcs = [":src"] + [":test_src"] + glob(["galoy.yaml"]), config_file = "test/unit/jest.config.js", - env_file = ".env", + app_env = { + "HELMREVISION": "dummy", + "KRATOS_PG_CON": "pg://dummy", + "OATHKEEPER_DECISION_ENDPOINT": "http://dummy", + "NETWORK": "regtest", + "TWILIO_ACCOUNT_SID": "dummy", + "TWILIO_AUTH_TOKEN": "dummy", + "TWILIO_VERIFY_SERVICE_ID": "dummy", + "KRATOS_PUBLIC_API": "http://dummy", + "KRATOS_ADMIN_API": "http://dummy", + "KRATOS_MASTER_USER_PASSWORD": "dummy", + "BRIA_HOST": "dummy", + "BRIA_API_KEY": "dummy", + "NOTIFICATIONS_HOST": "dummy", + "MONGODB_CON": "mongodb://dummy", + "REDIS_MASTER_NAME": "dummy", + "REDIS_PASSWORD": "dummy", + "REDIS_0_DNS": "dummy", + }, env = { "LOGLEVEL": "warn", }