Skip to content

Commit 4bca9b4

Browse files
committed
fix(amazonq): fixing unit test cases
1 parent 4c0ebcc commit 4bca9b4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

server/aws-lsp-codewhisperer/src/language-server/agenticChat/context/contextCommandsProvider.test.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,7 @@ describe('ContextCommandsProvider', () => {
118118
}
119119

120120
const processUpdateSpy = sinon.spy(provider, 'processContextCommandUpdate')
121+
sinon.stub(LocalProjectContextController, 'isInitialized').returns(true)
121122
;(LocalProjectContextController.getInstance as sinon.SinonStub).resolves(mockController as any)
122123

123124
// Set initial state to false so condition is met

0 commit comments

Comments
 (0)