A tool for parsing traffic on the jetstream and applying a moderation workstream based on regexp based rules
1import { defineConfig } from "vitest/config";
2
3export default defineConfig({
4 test: {
5 globals: true,
6 environment: "node",
7 coverage: {
8 provider: "v8",
9 reporter: ["text", "json", "html"],
10 exclude: [
11 "node_modules/**",
12 "dist/**",
13 "**/*.config.*",
14 "**/main.ts",
15 "**/*.test.ts",
16 "**/*.example.ts",
17 "**/constants.ts",
18 "**/ageConstants.ts",
19 ],
20 thresholds: {
21 lines: 60,
22 functions: 60,
23 branches: 60,
24 statements: 60,
25 },
26 },
27 },
28});