Files
Signage/vitest.config.ts
T
2026-08-28 16:41:54 -05:00

16 lines
505 B
TypeScript

import { defineConfig } from "vitest/config";
/**
* Signage's own test configuration.
*
* It exists because this module's browser tests are `.tsx` — they mount real React — and the
* repository root's configuration includes only `.test.ts`. Without this file those tests are
* silently not run, which is the worst possible failure mode for a test suite.
*/
export default defineConfig({
test: {
include: ["tests/**/*.test.ts", "tests/**/*.test.tsx"],
passWithNoTests: false,
},
});