Merge latest PR #500 head into all-gates recovery
This commit is contained in:
@@ -11,6 +11,17 @@ const windowsUnsupportedPackages = process.platform === 'win32'
|
|||||||
]
|
]
|
||||||
: []
|
: []
|
||||||
|
|
||||||
|
// These files retain 100% per-file coverage on POSIX, where their process-pipe and terminal timing
|
||||||
|
// tests are deterministic; Windows skips those cases and must not fail solely on their uncovered paths.
|
||||||
|
const windowsCoverageExclusions = process.platform === 'win32'
|
||||||
|
? [
|
||||||
|
'packages/lsp/lsp-local/src/connection.ts',
|
||||||
|
'packages/lsp/lsp-local/src/index.ts',
|
||||||
|
'packages/lsp/lsp-local/src/instance.ts',
|
||||||
|
'packages/ui/tui/src/index.ts',
|
||||||
|
]
|
||||||
|
: []
|
||||||
|
|
||||||
export default defineConfig({
|
export default defineConfig({
|
||||||
// Native path resolution reads each package's nearest tsconfig, but only the root defines
|
// Native path resolution reads each package's nearest tsconfig, but only the root defines
|
||||||
// workspace paths. Keep this plugin pinned to the root map so bare package imports resolve
|
// workspace paths. Keep this plugin pinned to the root map so bare package imports resolve
|
||||||
@@ -46,6 +57,7 @@ export default defineConfig({
|
|||||||
'packages/client/web-react/src/*',
|
'packages/client/web-react/src/*',
|
||||||
'packages/host/webserver/src/*',
|
'packages/host/webserver/src/*',
|
||||||
...windowsUnsupportedPackages.map(path => `${path}/src/**/*.ts`),
|
...windowsUnsupportedPackages.map(path => `${path}/src/**/*.ts`),
|
||||||
|
...windowsCoverageExclusions,
|
||||||
],
|
],
|
||||||
// 100% or it doesn't merge (docs/testing.md: excessive tests are welcome).
|
// 100% or it doesn't merge (docs/testing.md: excessive tests are welcome).
|
||||||
// Per-file so a well-covered big file can't subsidize a bare one.
|
// Per-file so a well-covered big file can't subsidize a bare one.
|
||||||
|
|||||||
Reference in New Issue
Block a user