fix test types

This commit is contained in:
Dallin Romney 2025-03-14 11:13:50 -07:00
parent ba31ddae2f
commit b422e17eb6

View file

@ -1,17 +1,17 @@
// Generated by continue
import generateRepoMap from "./generateRepoMap";
import { testIde, testLLM } from "../test/fixtures";
import {
setUpTestDir,
tearDownTestDir,
addToTestDir,
TEST_DIR,
} from "../test/testDir";
import fs from "fs";
import path from "path";
import { getRepoMapFilePath } from "./paths";
import { CodeSnippetsCodebaseIndex } from "../indexing/CodeSnippetsIndex";
import { testIde, testLLM } from "../test/fixtures";
import {
addToTestDir,
setUpTestDir,
tearDownTestDir,
TEST_DIR,
} from "../test/testDir";
import generateRepoMap from "./generateRepoMap";
import { getRepoMapFilePath } from "./paths";
describe.skip("generateRepoMap", () => {
beforeEach(() => {
@ -49,7 +49,8 @@ describe.skip("generateRepoMap", () => {
"def bar():",
],
},
hasMore: false,
hasMoreSnippets: false,
hasMoreUris: false,
};
});
@ -108,7 +109,8 @@ describe.skip("generateRepoMap", () => {
[path.join(TEST_DIR, "file1.js")]: [],
[path.join(TEST_DIR, "subdir/file2.py")]: [],
},
hasMore: false,
hasMoreSnippets: false,
hasMoreUris: false,
};
});
@ -161,7 +163,8 @@ describe.skip("generateRepoMap", () => {
[path.join(TEST_DIR, "file1.js")]: ["function foo() {}"],
[path.join(TEST_DIR, "subdir/file2.py")]: ["def foo():"],
},
hasMore: false,
hasMoreSnippets: false,
hasMoreUris: false,
};
});