Skip to content
This repository has been archived by the owner on Dec 6, 2024. It is now read-only.

Commit

Permalink
fix unit test (#1227)
Browse files Browse the repository at this point in the history
  • Loading branch information
maghirardelli authored Oct 11, 2023
1 parent 53d2134 commit 87e2063
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -376,7 +376,7 @@ describe('VPCE Policy Service', () => {
expect(policyDocument).toEqual(vpcePolicy);
});

test('should return nothing when no VPCE Policy can be found', async () => {
test('should return basic policy when no VPCE Policy can be found', async () => {
// BUILD
const vpceEndpoints = [];
const ec2Client = new MockEC2();
Expand All @@ -386,7 +386,7 @@ describe('VPCE Policy Service', () => {
const policyDocument = await service.getVpcePolicy(ec2Client, vpceId);

// CHECK
expect(policyDocument).toEqual({});
expect(policyDocument).toEqual({ Version: '2012-10-17', Statement: [] });
});
});

Expand Down

0 comments on commit 87e2063

Please sign in to comment.