From 3713a4d61c37f28c1fe6925318655d0733cd7ac0 Mon Sep 17 00:00:00 2001 From: uinstinct <61635505+uinstinct@users.noreply.github.com> Date: Thu, 7 Aug 2025 12:17:26 +0530 Subject: [PATCH] wait for logs to cleanup --- core/indexing/CodebaseIndexer.test.ts | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/core/indexing/CodebaseIndexer.test.ts b/core/indexing/CodebaseIndexer.test.ts index cf4102bd7..b9c24519a 100644 --- a/core/indexing/CodebaseIndexer.test.ts +++ b/core/indexing/CodebaseIndexer.test.ts @@ -746,11 +746,12 @@ describe("CodebaseIndexer", () => { jest.spyOn(testIde, "getIdeSettings").mockResolvedValue(mockIdeSettings); }); - afterEach(() => { + afterEach(async () => { jest.clearAllMocks(); + await new Promise((resolve) => setTimeout(resolve, 500)); // wait for error logs to cleanup }); - test.skip("should create specific indexTypes for the requested context providers", async () => { + test("should create specific indexTypes for the requested context providers", async () => { mockConfig.contextProviders = [ { description: { @@ -774,7 +775,7 @@ describe("CodebaseIndexer", () => { expect(indexes[1].artifactId).toBe("codeSnippets"); }); - test.skip("should handle duplicate contexts", async () => { + test("should handle duplicate contexts", async () => { mockConfig.contextProviders = [ { description: {