Skip to content

Commit

Permalink
Biome.
Browse files Browse the repository at this point in the history
  • Loading branch information
dominiccooney committed Jan 21, 2025
1 parent 804a8ba commit 655e21a
Showing 1 changed file with 4 additions and 14 deletions.
18 changes: 4 additions & 14 deletions vscode/test/e2e/chat-atFile.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -371,22 +371,12 @@ test.extend<ExpectedV2Events>({
await selectLineRangeInEditorTab(page, 2, 5)

const [, lastChatInput] = await createEmptyChatPanel(page)
await expect(chatInputMentions(lastChatInput)).toHaveText(
[
'buzz.ts',
'buzz.ts:2-5',
],
{
timeout: 3_000,
}
)
await expect(chatInputMentions(lastChatInput)).toHaveText(['buzz.ts', 'buzz.ts:2-5'], {
timeout: 3_000,
})

await lastChatInput.press('x')
await selectLineRangeInEditorTab(page, 7, 10)
await executeCommandInPalette(page, 'Cody: Add Selection to Cody Chat')
await expect(chatInputMentions(lastChatInput)).toHaveText([
'buzz.ts',
'buzz.ts:2-5',
'buzz.ts:7-10',
])
await expect(chatInputMentions(lastChatInput)).toHaveText(['buzz.ts', 'buzz.ts:2-5', 'buzz.ts:7-10'])
})

0 comments on commit 655e21a

Please sign in to comment.