diff --git a/src/web-ui/src/app/scenes/settings/SettingsScene.test.tsx b/src/web-ui/src/app/scenes/settings/SettingsScene.test.tsx index 3443a17617..293357deed 100644 --- a/src/web-ui/src/app/scenes/settings/SettingsScene.test.tsx +++ b/src/web-ui/src/app/scenes/settings/SettingsScene.test.tsx @@ -63,6 +63,19 @@ vi.mock('../../../infrastructure/config/components/SessionConfig', () => ({ SessionPermissionsConfig: () =>
, })); +/** + * The scene runs its own external-application lookup on mount, which reaches + * the real transport: outside Tauri that is the WebSocket adapter, and once its + * connection to a server nobody started fails it keeps retrying — and logging — + * on a timer that outlives this file. A console write from that timer can land + * in a worker whose rpc is already closing, failing the run with an + * EnvironmentTeardownError attributed here. Tab routing is what this file + * covers; the lookup is chrome it does not assert on. + */ +vi.mock('../../../infrastructure/config/components/external-sources/useExternalAppAwareness', () => ({ + useExternalAppAwareness: () => {}, +})); + vi.mock('./components/ArchivedSessionsConfig', () => ({ default: () => , }));