Skip to content

Commit 7dde9a1

Browse files
committed
test(code-index): remove redundant async usage
1 parent 7446f33 commit 7dde9a1

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

‎src/services/code-index/processors/__tests__/parser.spec.ts‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -267,18 +267,18 @@ describe("CodeParser", () => {
267267
})
268268

269269
describe("_chunkTextByLines", () => {
270-
it("should not emit a chunk whose segment hash has already been seen", async () => {
270+
it("should not emit a chunk whose segment hash has already been seen", () => {
271271
const lines = ["Fallback content long enough to produce a chunk without being filtered out."]
272272
const seenSegmentHashes = new Set<string>()
273273

274-
const firstResult = await parser["_chunkTextByLines"](
274+
const firstResult = parser["_chunkTextByLines"](
275275
lines,
276276
"manual.txt",
277277
"hash",
278278
"fallback_chunk",
279279
seenSegmentHashes,
280280
)
281-
const duplicateResult = await parser["_chunkTextByLines"](
281+
const duplicateResult = parser["_chunkTextByLines"](
282282
lines,
283283
"manual.txt",
284284
"hash",

0 commit comments

Comments
 (0)