From b417cd5780189453cdf00da15ce790592ba04257 Mon Sep 17 00:00:00 2001 From: Shivaditya Shivganesh Date: Thu, 17 Oct 2024 02:31:24 -0400 Subject: [PATCH] fix: removed jest commas --- src/handlers/ask-llm.ts | 2 +- tests/main.test.ts | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/handlers/ask-llm.ts b/src/handlers/ask-llm.ts index cf6aeae..30112c3 100644 --- a/src/handlers/ask-llm.ts +++ b/src/handlers/ask-llm.ts @@ -23,7 +23,7 @@ export async function askQuestion(context: Context, question: string) { repo: context.payload.repository.name, }); const formattedChat = await formatChatHistory(context, streamlinedComments, specAndBodies); - context.logger.info(`${formattedChat}`); + context.logger.info(`${formattedChat.join("")}`); return await askGpt(context, question, formattedChat); } diff --git a/tests/main.test.ts b/tests/main.test.ts index 29882e6..9875f81 100644 --- a/tests/main.test.ts +++ b/tests/main.test.ts @@ -145,7 +145,7 @@ describe("Ask plugin tests", () => { 2 ubiquity: ${TEST_QUESTION} [#1](https://www.github.com/ubiquity/test-repo/issues/1) === End Current Issue #1 Conversation === - ,=== Linked Issue #2 Specification === ubiquity/test-repo/2 === + === Linked Issue #2 Specification === ubiquity/test-repo/2 === Related to issue #3 === End Linked Issue #2 Specification === @@ -155,7 +155,7 @@ describe("Ask plugin tests", () => { 3 ubiquity: ${ISSUE_ID_3_CONTENT} [#3](https://www.github.com/ubiquity/test-repo/issues/3) === End Linked Issue #2 Conversation === - ,=== Linked Issue #3 Specification === ubiquity/test-repo/3 === + === Linked Issue #3 Specification === ubiquity/test-repo/3 === Just another issue === End Linked Issue #3 Specification ===