mirror of
https://github.com/0xbow-io/privacy-pools-core.git
synced 2026-01-09 01:17:58 -05:00
25 lines
581 B
TypeScript
25 lines
581 B
TypeScript
import path from "path";
|
|
import { configDefaults, defineConfig } from "vitest/config";
|
|
|
|
export default defineConfig({
|
|
test: {
|
|
env: {
|
|
'CONFIG_PATH': './test/inputs/config.test.json',
|
|
},
|
|
globals: true,
|
|
environment: "node",
|
|
include: ["test/**/*.spec.ts"],
|
|
exclude: ["node_modules", "dist"],
|
|
coverage: {
|
|
provider: "v8",
|
|
reporter: ["text", "json", "html"],
|
|
exclude: ["node_modules", "dist", "src/index.ts", ...configDefaults.exclude],
|
|
},
|
|
},
|
|
resolve: {
|
|
alias: {
|
|
"@": path.resolve(__dirname, "src"),
|
|
},
|
|
},
|
|
});
|