"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const config_1 = require("vitest/config");
const dotenv_1 = require("dotenv");
(0, dotenv_1.config)();
exports.default = (0, config_1.defineConfig)({
    test: {
        globals: true,
        environment: 'node',
        globalSetup: ['tests/setup/global.ts'],
        setupFiles: ['tests/setup/clear-roles.ts'],
        include: ['tests/integration/**/*.test.ts'],
        exclude: ['node_modules', 'build'],
        testTimeout: 120_000,
        hookTimeout: 120_000,
        fileParallelism: false,
        pool: 'forks',
        env: {
            NODE_ENV: 'test',
            POSTGRES_DB: 'longtail_test',
            HMSH_SCOUT_INTERVAL_SECONDS: '5',
            HMSH_ROUTER_SCOUT_INTERVAL_SECONDS: '5',
        },
    },
});
