diff --git a/src/components/ChatForm/ChatForm.test.tsx b/src/components/ChatForm/ChatForm.test.tsx index 8086ef01..54940330 100644 --- a/src/components/ChatForm/ChatForm.test.tsx +++ b/src/components/ChatForm/ChatForm.test.tsx @@ -115,7 +115,7 @@ describe("ChatForm", () => { await user.type(textarea, "foo"); await user.keyboard("{Enter}"); expect(fakeOnSubmit).toHaveBeenCalledWith( - `foo\n@symbols-at ${activeFile.path}:${activeFile.line1}-${activeFile.line2}\n`, + `foo\n@symbols-at ${activeFile.path}:${activeFile.cursor}\n`, ); });