Skip to content

Commit 3078bfa

Browse files
committed
Fix customizations unit test
1 parent ee1b846 commit 3078bfa

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/core/src/test/codewhisperer/commands/basicCommands.test.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -477,6 +477,7 @@ describe('CodeWhisperer-basicCommands', function () {
477477
sinon.stub(AuthUtil.instance, 'isConnected').returns(true)
478478
sinon.stub(AuthUtil.instance, 'isIdcConnection').returns(true)
479479
sinon.stub(AuthUtil.instance, 'isCustomizationFeatureEnabled').value(true)
480+
sinon.stub(AuthUtil.instance.regionProfileManager, 'requireProfileSelection').returns(false)
480481
await CodeScansState.instance.setScansEnabled(false)
481482

482483
getTestWindow().onDidShowQuickPick(async (e) => {

0 commit comments

Comments
 (0)