test(server): provide bundled provider capability in session fixture

This commit is contained in:
Mohamed Boudra
2026-10-15 13:46:44 +02:00
parent 95ea57746a
commit 51525e9146
2 changed files with 2 additions and 0 deletions
@@ -240,6 +240,7 @@ export function createProviderSnapshotManagerStub(): {
const off = vi.fn();
const destroy = vi.fn<ProviderSnapshotManager["destroy"]>();
const stub = {
supportsConfigRequiredProvider: () => false,
getSnapshot,
refreshSnapshotForCwd,
refreshSettingsSnapshot,
@@ -1141,6 +1141,7 @@ describe("relay external socket reconnect behavior", () => {
expect(serverInfo.features?.stableProjectIdentity).toBe(true);
expect(serverInfo.features?.canonicalSubmittedPrompts).toBe(true);
expect(serverInfo.features?.providersSnapshotCwd).toBe(true);
expect(serverInfo.features?.hopliteProvider).toBe(false);
expect(serverInfo.features?.pluginLogs).toBe(true);
expect(serverInfo.features?.workspaceMarkUnread).toBe(true);
expect(serverInfo.features?.["terminal-input-mode-replay"]).toBe(true);