Files
Codewhale/web/vitest.config.ts
CodeWhale BotandClaude Sonnet 5.5 5502f0a682 docs, scripts and CI: follow the host move; document stdio/websocket controls and usage statistics
Updates moved-file paths in the CI path filters, scripts, vitest config and editor/bridge sources; documents the Runtime API stdio/websocket controls and usage statistics (en and zh_hans); adds the usage-statistics and cache-call-receipts features to features.toml with regenerated web data; updates coarse-split design docs and crate maps, split scripts, the blocking-calls budget and release smoke scripts.

Verification: whole-tree evidence only, not per group. A native21 build of the full dirty tree completed (patch sha ea25c782...), and an unsealed nextest rerun of all 389 selected existing checks passed 389/389 on it. The earlier sealed native20 run failed 369/20 before fixes and was not re-sealed. No CI run.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
2026-11-03 01:04:42 -08:00

24 lines
756 B
TypeScript

import { fileURLToPath } from "node:url";
import { defineConfig } from "vitest/config";
export default defineConfig({
resolve: {
alias: {
"@": fileURLToPath(new URL(".", import.meta.url)),
},
},
test: {
globalSetup: ["./vitest.global-setup.ts"],
include: [
"lib/**/*.test.ts",
"components/**/*.test.tsx",
// The embedded runtime dashboard ships as plain ESM inside the Rust
// crate, but its target-resolution rail decides whether a reply or an
// approval is sent at all (#4397). Reaching outside `web/` keeps the
// test next to the module it covers while still running under the one
// JS test job CI has.
"../crates/app-server/src/runtime_web/**/*.test.mjs",
],
},
});