mirror of
https://github.com/snapotter-hq/SnapOtter.git
synced 2026-08-03 07:46:42 +02:00
Coverage 83.6 to 87.36% lines, 81.63 to 84.14% branches. Mutation testing across five packages: image-engine 85, media-engine 92, doc-engine 87, shared+enterprise 86, apps/api security and jobs slice. Runs all five lanes weekly. Fixes the silently-broken mutation CI (babel pin), a redact-pdf envelope-shape test bug, an untested enterprise license valid-signature path, and an audit test that only exercised a hand-copied reproduction. Test and config only, no product code changes beyond the babel pin and one test-only oidc export. Full suite: 16,712 pass, 0 fail.
27 lines
1.0 KiB
JSON
27 lines
1.0 KiB
JSON
{
|
|
"$schema": "https://raw.githubusercontent.com/stryker-mutator/stryker-js/master/packages/api/schema/stryker-core.json",
|
|
"testRunner": "vitest",
|
|
"plugins": ["@stryker-mutator/vitest-runner"],
|
|
"vitest": { "configFile": "vitest.stryker-shared.config.ts" },
|
|
"mutate": [
|
|
"packages/shared/src/modality.ts",
|
|
"packages/shared/src/section.ts",
|
|
"packages/shared/src/features.ts",
|
|
"packages/shared/src/conversion-presets.ts",
|
|
"packages/shared/src/tool-errors.ts",
|
|
"packages/shared/src/subprocess-limit.ts",
|
|
"packages/shared/src/permissions.ts",
|
|
"packages/shared/src/pipeline-templates.ts",
|
|
"packages/shared/src/library-save.ts",
|
|
"packages/shared/src/audit-events.ts",
|
|
"packages/enterprise/src/license.ts"
|
|
],
|
|
"incremental": true,
|
|
"incrementalFile": "reports/stryker-shared-incremental.json",
|
|
"reporters": ["clear-text", "progress"],
|
|
"thresholds": { "high": 80, "low": 60, "break": null },
|
|
"tempDirName": ".stryker-tmp-shared",
|
|
"ignoreStatic": true,
|
|
"concurrency": 8
|
|
}
|