Skip to content

Commit

Permalink
test(chat form): update "symbols-at" spec
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcMcIntosh committed Mar 7, 2024
1 parent c64ce0c commit 02b2541
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/ChatForm/ChatForm.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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`,
);
});

Expand Down

0 comments on commit 02b2541

Please sign in to comment.