fix tsc errors
This commit is contained in:
parent
a488526e90
commit
e34a56748d
3 changed files with 3 additions and 14 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
|
|
|
|||
|
|
@ -18,7 +18,7 @@ export const testConfigHandler = new ConfigHandler(
|
|||
testIde,
|
||||
ideSettingsPromise,
|
||||
async (text) => {},
|
||||
testControlPlaneClient,
|
||||
Promise.resolve(undefined),
|
||||
);
|
||||
|
||||
export const testLLM = new Mock({
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue