steam-backlog-enforcer/web/vitest.config.ts
Krzysztof kuhy Rudnicki 9ad424d777 Verify store unblock/re-block; file failures
Every store-window action now checks its result instead of trusting
the commands: unblock needs no live store hosts line, no iptables
chain and a reachable store (else "network down" when
steamcommunity.com is down too), with one repair pass. Re-block needs
every domain on a sinkhole and the store unreachable, and is not
retried. A failure fails the job, names the check, and files one todo
task (deduplicated by title) through the local todo MCP; re-block
reports reach the web server via the new store_reports op. Job log
times now show local time like the summary.

Todo: 85af719b

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 17:07:29 +01:00

19 lines
593 B
TypeScript

/// <reference types="vitest/config" />
import { getViteConfig } from 'astro/config'
export default getViteConfig({
test: {
// Local-time rendering (job log times) must not depend on the machine's zone.
env: { TZ: 'UTC' },
environment: 'jsdom',
setupFiles: ['./src/test/setup.ts'],
include: ['src/**/*.test.ts', 'mock/**/*.test.ts'],
coverage: {
provider: 'v8',
include: ['src/**/*.ts'],
exclude: ['src/**/*.test.ts', 'src/test/**', 'src/**/*.d.ts'],
thresholds: { statements: 100, branches: 100, functions: 100, lines: 100 },
},
},
})