forked from mergepay/mergepay-api
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathvitest.config.ts
More file actions
24 lines (23 loc) · 806 Bytes
/
Copy pathvitest.config.ts
File metadata and controls
24 lines (23 loc) · 806 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
import { defineConfig } from "vitest/config";
export default defineConfig({
test: {
environment: "node",
include: ["tests/**/*.test.ts"],
exclude: ["tests/integration/**"],
env: {
NODE_ENV: "test",
VITEST: "true",
DATABASE_URL: "postgresql://postgres:postgres@localhost:5432/mergepay_test",
API_PUBLIC_URL: "http://localhost:4000",
JWT_SECRET: "test-secret-key-at-least-16-chars",
STELLAR_NETWORK: "public",
HORIZON_URL: "https://horizon.stellar.org",
ANCHOR_HOME_DOMAIN: "testanchor.stellar.org",
ANCHOR_NAME: "Test Anchor",
ANCHOR_WEBHOOK_SECRET: "test-webhook-secret",
STABLE_ASSET_CODE: "USDC",
STABLE_ASSET_ISSUER: "GA5ZSEJYB37JRC5AVCIA5MOP4RHTM335X2KGX3IHOJAPP5RE34K4KZVN",
},
globals: true,
},
});