ci: coverage skip part of web

This commit is contained in:
imccyu
2026-07-22 17:54:25 +08:00
parent 7c8baee14f
commit 27fd75a314
2 changed files with 5 additions and 13 deletions

View File

@@ -4,19 +4,6 @@
* baseline replay, timing hooks) — this is the vitest-side drift detector for
* the hand-written fixture/host parallel implementations.
*/
/* eslint-disable @typescript-eslint/no-unsafe-assignment,
@typescript-eslint/no-unsafe-member-access,
@typescript-eslint/no-unsafe-call,
@typescript-eslint/no-unsafe-argument,
@typescript-eslint/no-unsafe-return --
* CI's no-build lint lane cannot resolve the wire types this suite drives
* (they arrive through apiproxy's lib/types exports, absent without a build),
* so every contract-typed expression collapses to `any` there while the same
* code lints clean locally (hence the locally-unused directive). The suite is
* exactly a traversal of that cross-package contract face (unary table,
* stream replay, envelope tap); typecheck runs with project references and
* keeps the real type safety. */
import { afterEach, describe, expect, it, vi } from 'vitest'
import type { SessionId } from '../src/client/api.ts'
import { RpcId } from '../src/client/api.ts'

View File

@@ -39,6 +39,11 @@ export default defineConfig({
'packages/*/*/src/bin.ts',
'packages/*/*/src/worker.ts',
// GUI step-1 skeleton (PR #500): client/web UI files whose remaining
// branches need a browser-grade harness the jsdom lane doesn't cover
// yet. TODO(gui): cover and remove as the client test lane matures.
'packages/client/ui-trajectory/src/*',
'packages/client/web-react/src/*',
...windowsUnsupportedPackages.map(path => `${path}/src/**/*.ts`),
],
// 100% or it doesn't merge (docs/testing.md: excessive tests are welcome).