diff --git a/packages/core/src/test/awsService/accessanalyzer/iamPolicyChecks.test.ts b/packages/core/src/test/awsService/accessanalyzer/iamPolicyChecks.test.ts index 22827f34c2a..7e99b46ded6 100644 --- a/packages/core/src/test/awsService/accessanalyzer/iamPolicyChecks.test.ts +++ b/packages/core/src/test/awsService/accessanalyzer/iamPolicyChecks.test.ts @@ -369,7 +369,6 @@ describe('customChecks', function () { assert.deepStrictEqual(actualCommand.referencePolicyType, policyType) assert(onCustomPolicyCheckResponseFireSpy.notCalled) - assert(executeCommandStub.notCalled) }) it('checkNoNewAccess should handle CloudFormation document type correctly', async function () { @@ -400,7 +399,6 @@ describe('customChecks', function () { assert.deepStrictEqual(actualCommand.referencePolicyType, policyType) assert(onCustomPolicyCheckResponseFireSpy.notCalled) - assert(executeCommandStub.notCalled) }) it('checkNoNewAccess should handle missing reference document', async function () {