Skip to content

Commit c9195dc

Browse files
committed
test
1 parent afa4c7d commit c9195dc

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

packages/amazonq/test/e2e/inline/inline.test.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,12 @@ describe('Amazon Q Inline', async function () {
9999
console.log('manually setting up editor')
100100
await setupEditor()
101101

102+
/**
103+
* Opening up the editor seems to trigger codewhisperer somehow?
104+
* try reseting everything again after
105+
**/
106+
await resetCodeWhispererGlobalVariables(false)
107+
102108
/**
103109
* Allow some time between when the editor is opened and when we start typing.
104110
* If we don't do this then the time between the initial editor selection

packages/core/src/codewhisperer/service/inlineCompletionItemProvider.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,8 @@ export class CWInlineCompletionItemProvider implements vscode.InlineCompletionIt
9595
index: number,
9696
prefix: string
9797
): vscode.InlineCompletionItem | undefined {
98+
// eslint-disable-next-line aws-toolkits/no-console-log
99+
console.log('creating inline completion results')
98100
if (!r.content.startsWith(prefix)) {
99101
return undefined
100102
}

0 commit comments

Comments
 (0)