Skip to content

Commit 26594fa

Browse files
Update packages/core/src/test/shared/sam/build.test.ts
Co-authored-by: Roger Zhang <[email protected]>
1 parent 5e2bc19 commit 26594fa

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

packages/core/src/test/shared/sam/build.test.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -499,7 +499,10 @@ describe('SAM Build', () => {
499499
})
500500

501501
it('should abort when customer cancel build wizard', async () => {
502-
getTestWindow().onDidShowQuickPick((picker) => picker.dispose())
502+
getTestWindow().onDidShowQuickPick((picker) => {
503+
await picker.untilReady()
504+
picker.dispose())
505+
}
503506

504507
try {
505508
await runBuild(appNode)

0 commit comments

Comments
 (0)