test: add Stryker mutation testing (#16184)

Co-authored-by: Ai Vong <ai.vong@openhands.dev>
Co-authored-by: Engel Nyst <engel.nyst@gmail.com>
This commit is contained in:
🐾 smolpaws
2026-07-30 08:39:49 +02:00
committed by GitHub
co-authored by Ai Vong Engel Nyst
parent 46f4d18716
commit 7fbc01824a
8 changed files with 1554 additions and 0 deletions
+5
View File
@@ -87,6 +87,9 @@
"test:e2e:mock-llm": "playwright test --config=playwright.mock-llm.config.ts",
"test:e2e:mock-llm:docker": "playwright test --config=playwright.mock-llm-docker.config.ts",
"test:coverage": "npm run make-i18n && vitest run --coverage",
"test:mutation": "npm run make-i18n && stryker run",
"test:mutation:diff": "npm run make-i18n && node scripts/stryker-diff.mjs",
"test:mutation:incremental": "npm run make-i18n && stryker run --incremental",
"dev_wsl": "VITE_WATCH_USE_POLLING=true vite",
"preview": "vite preview",
"make-i18n": "node scripts/make-i18n-translations.cjs",
@@ -125,6 +128,8 @@
"@mswjs/socket.io-binding": "0.2.0",
"@playwright/test": "1.59.1",
"@react-router/dev": "7.17.0",
"@stryker-mutator/core": "9.6.1",
"@stryker-mutator/vitest-runner": "9.6.1",
"@tailwindcss/typography": "0.5.19",
"@tanstack/eslint-plugin-query": "5.100.9",
"@testing-library/dom": "10.4.1",