diff --git a/core/context/providers/_context-providers.test.ts b/core/context/providers/_context-providers.test.ts index 22f1dffbc..a581d6cb4 100644 --- a/core/context/providers/_context-providers.test.ts +++ b/core/context/providers/_context-providers.test.ts @@ -7,7 +7,6 @@ import { IContextProvider, } from "../.."; import { ConfigHandler } from "../../config/ConfigHandler"; -import { ControlPlaneClient } from "../../control-plane/client"; import { TEST_DIR } from "../../test/testDir"; import FileSystemIde from "../../util/filesystem"; @@ -31,7 +30,7 @@ async function getContextProviderExtras( ide, ideSettingsPromise, async (text) => {}, - new ControlPlaneClient(Promise.resolve(undefined), ideSettingsPromise), + Promise.resolve(undefined), ); const { config } = await configHandler.loadConfig(); if (!config) { diff --git a/core/indexing/docs/DocsService.skip.ts b/core/indexing/docs/DocsService.skip.ts index 0064f064c..682b76a23 100644 --- a/core/indexing/docs/DocsService.skip.ts +++ b/core/indexing/docs/DocsService.skip.ts @@ -2,7 +2,6 @@ * @jest-environment jsdom */ import { ConfigHandler } from "../../config/ConfigHandler.js"; -import { ControlPlaneClient } from "../../control-plane/client.js"; import { SiteIndexingConfig } from "../../index.js"; import FileSystemIde from "../../util/filesystem.js"; import { editConfigJson } from "../../util/paths.js"; @@ -50,16 +49,7 @@ describe.skip("DocsService Integration Tests", () => { ide, ideSettingsPromise, async () => {}, - new ControlPlaneClient( - Promise.resolve({ - accessToken: "", - account: { - id: "", - label: "", - }, - }), - ideSettingsPromise, - ), + Promise.resolve(undefined), ); docsService = DocsService.createSingleton(configHandler, ide); diff --git a/core/test/fixtures.ts b/core/test/fixtures.ts index 4f8601303..ae54b03db 100644 --- a/core/test/fixtures.ts +++ b/core/test/fixtures.ts @@ -18,7 +18,7 @@ export const testConfigHandler = new ConfigHandler( testIde, ideSettingsPromise, async (text) => {}, - testControlPlaneClient, + Promise.resolve(undefined), ); export const testLLM = new Mock({