aboutsummaryrefslogtreecommitdiffhomepage
path: root/backend/vitest.config.js
blob: ecea6a5bbbb121e1e7122789a8940ac5849f2f2b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
import { defineConfig } from "vitest/config";

export default defineConfig({
  test: {
    globals: true,
    environment: "node",
    globalSetup: "__tests__/global-setup.ts",
    setupFiles: ["__tests__/setup-tests.ts"],
    pool: "forks", //this should be the default value, however the CI fails without this set.

    coverage: {
      include: ["**/*.ts"],
    },
  },
});