Skip to content

Commit 2c22536

Browse files
committed
Add stub
1 parent bd86698 commit 2c22536

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

packages/amazonq/test/unit/codewhisperer/util/showSsoPrompt.test.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,8 @@ describe('showConnectionPrompt', function () {
2828
})
2929

3030
it('can select connect to AwsBuilderId', async function () {
31+
sinon.stub(AuthUtil.instance, 'login').resolves()
32+
3133
getTestWindow().onDidShowQuickPick(async (picker) => {
3234
await picker.untilReady()
3335
picker.acceptItem(picker.items[0])

0 commit comments

Comments
 (0)