Skip to content

Commit 299f189

Browse files
authored
tests: fix failing SAM CLI integration tests (#2881)
1 parent a233fea commit 299f189

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

src/integrationTest/sam.test.ts

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -489,11 +489,7 @@ describe('SAM Integration Tests', async function () {
489489
})
490490

491491
it('produces an error when creating a SAM Application to the same location', async function () {
492-
await assert.rejects(
493-
createSamApplication(testDir),
494-
/directory already exists/,
495-
'Promise was not rejected'
496-
)
492+
await assert.rejects(createSamApplication(testDir), 'Promise was not rejected')
497493
})
498494

499495
it('produces an Add Debug Configuration codelens', async function () {

0 commit comments

Comments
 (0)