Files
DeepTutor/web/tsconfig.node-tests.json
Dryice Liu 9cf8829f3b test(web): cover code block appearance preferences
Add node tests for the theme registry (completeness, invalid-theme
fallback, label formatting), RichCodeBlock (background derivation,
line numbers, wrapping, plain-text routing), SettingsContext
(boolean hydration, backend sync, partial-update persistence),
AppShell storage (SSR defaults, event sync), the appearance page
(syntax-theme select, two toggles), and the markdown fallback
path. Register module aliases so the node tests can resolve
web-path imports.
2026-07-18 14:52:06 +08:00

17 lines
317 B
JSON

{
"extends": "./tsconfig.json",
"compilerOptions": {
"noEmit": false,
"outDir": "./dist/node-tests",
"rootDir": ".",
"baseUrl": ".",
"module": "commonjs",
"moduleResolution": "node",
"incremental": false,
"paths": {
"@/*": ["./*"]
}
},
"include": ["tests/**/*.ts"]
}