File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
amazonq/test/unit/amazonq/lsp/chat Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ import { LanguageClient } from 'vscode-languageclient'
88import { AuthUtil } from 'aws-core-vscode/codewhisperer'
99import { registerMessageListeners } from '../../../../../src/lsp/chat/messages'
1010import { AmazonQChatViewProvider } from '../../../../../src/lsp/chat/webviewProvider'
11- import { SecondaryAuth , Connection , AuthFollowUpType } from 'aws-core-vscode/amazonq'
11+ import { secondaryAuth , authConnection , AuthFollowUpType } from 'aws-core-vscode/amazonq'
1212
1313describe ( 'registerMessageListeners' , ( ) => {
1414 let languageClient : LanguageClient
@@ -80,7 +80,7 @@ describe('registerMessageListeners', () => {
8080 reauthenticate : reauthenticateStub ,
8181 secondaryAuth : {
8282 deleteConnection : deleteConnectionStub ,
83- } as unknown as SecondaryAuth < Connection > ,
83+ } as unknown as secondaryAuth . SecondaryAuth < authConnection . Connection > ,
8484 } as unknown as AuthUtil
8585
8686 sandbox . replaceGetter ( AuthUtil , 'instance' , ( ) => mockAuthUtil )
Original file line number Diff line number Diff line change @@ -46,8 +46,8 @@ export { extractAuthFollowUp } from './util/authUtils'
4646export { Messenger } from './commons/connector/baseMessenger'
4747export * from './lsp/config'
4848export * as WorkspaceLspInstaller from './lsp/workspaceInstaller'
49- export { SecondaryAuth } from '../auth/secondaryAuth'
50- export { Connection } from '../auth/connection'
49+ export * as secondaryAuth from '../auth/secondaryAuth'
50+ export * as authConnection from '../auth/connection'
5151import { FeatureContext } from '../shared/featureConfig'
5252
5353/**
You can’t perform that action at this time.
0 commit comments