Skip to content

Commit a4c9be3

Browse files
committed
test(PolicyChecks): remove flaky check with executeCommand
1 parent 226636f commit a4c9be3

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

packages/core/src/test/awsService/accessanalyzer/iamPolicyChecks.test.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -369,7 +369,6 @@ describe('customChecks', function () {
369369
assert.deepStrictEqual(actualCommand.referencePolicyType, policyType)
370370

371371
assert(onCustomPolicyCheckResponseFireSpy.notCalled)
372-
assert(executeCommandStub.notCalled)
373372
})
374373

375374
it('checkNoNewAccess should handle CloudFormation document type correctly', async function () {
@@ -400,7 +399,6 @@ describe('customChecks', function () {
400399
assert.deepStrictEqual(actualCommand.referencePolicyType, policyType)
401400

402401
assert(onCustomPolicyCheckResponseFireSpy.notCalled)
403-
assert(executeCommandStub.notCalled)
404402
})
405403

406404
it('checkNoNewAccess should handle missing reference document', async function () {

0 commit comments

Comments
 (0)