- Rename 132 *.vitest.mjs -> *.vitest.ts - Rename vitest.setup.mjs -> vitest.setup.ts - Rename helpers/vitestEnvironment.mjs -> vitestEnvironment.ts - Delete settings_store.test.mjs (Node test runner, superseded by .vitest.ts) - Fix .mjs imports in vitest.setup.ts and grid_loader_adaptive_paging.vitest.ts Config updates: - vitest.config.mjs: setupFiles, include, coverage.include -> .ts - tsconfig.test.json: new dedicated config for test files (strict:false) - knip.json: update project pattern for tests - package.json: add typecheck:tests script (audit-only)
6 lines
142 B
TypeScript
6 lines
142 B
TypeScript
import { ensureWindowStub } from "./helpers/vitestEnvironment.ts";
|
|
|
|
if (typeof globalThis.window === "undefined") {
|
|
ensureWindowStub();
|
|
}
|