mirror of
https://github.com/HKUDS/DeepTutor.git
synced 2026-12-02 07:10:15 +08:00
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.
17 lines
317 B
JSON
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"]
|
|
}
|