Typecheck discovery host guard with the mixed-layer integration tests

This commit is contained in:
Brennan Benson
2026-11-11 15:36:52 -08:00
parent 2381206d33
commit f88cf4e09d
5 changed files with 4 additions and 3 deletions
+1
View File
@@ -1,6 +1,7 @@
{
"extends": "./tsconfig.web.json",
"exclude": [
"../src/renderer/src/components/right-sidebar/file-explorer/tree/file-explorer-repository-host-idle.test.ts",
"../src/renderer/src/components/task-page/linear/task-page-linear-detail-query.test.tsx",
"../src/renderer/src/runtime/provider-accounts/observations/provider-account-observation.test-fixture.ts",
"../src/shared/**/*.test.ts",
+1
View File
@@ -1,6 +1,7 @@
{
"extends": "./tsconfig.web.json",
"include": [
"../src/renderer/src/components/right-sidebar/file-explorer/tree/file-explorer-repository-host-idle.test.ts",
"../src/main/runtime/orchestration/terminal-authority/structured-sessions/structured-chat-coordinator-mail.test.ts",
"../src/main/runtime/agent-session/structured-agent-session-chat-wait-work-state.test.ts",
"../src/renderer/src/components/task-page/linear/task-page-linear-detail-query.test.tsx",
+1
View File
@@ -11,6 +11,7 @@
"../src/shared/**/*"
],
"exclude": [
"../src/renderer/src/components/right-sidebar/file-explorer/tree/file-explorer-repository-host-idle.test.ts",
"../src/renderer/src/components/task-page/linear/task-page-linear-detail-query.test.tsx",
"../src/renderer/src/runtime/provider-accounts/observations/provider-account-observation.test-fixture.ts"
],
@@ -1,6 +1,6 @@
import { afterEach, beforeEach, expect, it, vi } from 'vitest'
import { handlers, resetFilesystemIpcMocks } from './filesystem-test-harness'
import type { StateWriteListener } from '../../persistence/loading-store/write-scheduling'
import type { StateWriteListener } from '../../persistence/loading-store/profile-writing/write-scheduling'
const read = vi.hoisted(() =>
vi.fn(async () => ({ entries: [], conflictOperation: 'unknown', repositoryStatuses: [] }))
@@ -1,5 +1,3 @@
// oxlint-disable-next-line typescript/triple-slash-reference -- The host globals are ambient declarations, not an importable module.
/// <reference path="../../../../../../types/build-constants.d.ts" />
import { afterEach, expect, it, vi } from 'vitest'
import type { GitRepositoryStatusRequest } from '../../../../../../shared/git/status/git-repository-status'
import { getRepositoryStatuses } from '../../../../../../main/git/source-control/repository-status'