From be368ef41d3bfced3a9dbbd14cd4fd0aeff86226 Mon Sep 17 00:00:00 2001 From: Thierry de Pauw Date: Thu, 3 Jun 2021 15:38:12 +0200 Subject: [PATCH] Fix the name of getStatement test when sid is not available --- tests/policy/policy.spec.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/policy/policy.spec.ts b/tests/policy/policy.spec.ts index 9f2c2f6..64e3ecd 100644 --- a/tests/policy/policy.spec.ts +++ b/tests/policy/policy.spec.ts @@ -101,7 +101,7 @@ describe('#PolicyDocument', function() { }); describe('when Sid doesn\'t exist', function() { - it('should return the statement having the given Sid', function() { + it('should return undefined', function() { expect(policy.getStatement('an sid')).to.be.undefined; }); });