Files
OwnCord/Client/tauri-client/stryker.config.mjs
T
jevb 5cec992c1f chore: add dev tooling — Stryker, gremlins, k6, toxiproxy, Coraza WAF, Zod
Install and configure mutation testing (Stryker for client, go-gremlins
for server), load testing (k6), chaos testing (toxiproxy), WAF middleware
(Coraza with OWASP rules, opt-in via waf_enabled config), and Zod for
runtime schema validation. All tools verified building cleanly.
2026-04-01 13:49:06 +02:00

31 lines
630 B
JavaScript

// @ts-check
/** @type {import('@stryker-mutator/api/core').PartialStrykerOptions} */
const config = {
testRunner: "vitest",
checkers: ["typescript"],
tsconfigFile: "tsconfig.json",
vitest: {
configFile: "vitest.config.ts",
},
mutate: [
"src/lib/**/*.ts",
"src/stores/**/*.ts",
"!src/lib/types.ts",
"!src/**/*.d.ts",
],
reporters: ["html", "clear-text", "progress"],
htmlReporter: {
fileName: "reports/mutation/index.html",
},
thresholds: {
high: 80,
low: 60,
break: 50,
},
concurrency: 4,
timeoutMS: 30000,
tempDirName: ".stryker-tmp",
};
export default config;