Skip to content

Commit

Permalink
Fix unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
jdukewich committed Jul 1, 2024
1 parent 285af1e commit 9cdace1
Showing 1 changed file with 5 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -234,11 +234,8 @@ describe('security group context provider plugin', () => {

AWS.mock('EC2', 'describeSecurityGroups', (_params: aws.EC2.DescribeSecurityGroupsRequest, cb: AwsCallback<aws.EC2.DescribeSecurityGroupsResult>) => {
expect(_params).toEqual({
GroupIds: undefined,
Filters: [
{
Name: 'owner-id',
Values: ['012345678901'],
},
{
Name: 'description',
Values: ['my description'],
Expand All @@ -247,6 +244,10 @@ describe('security group context provider plugin', () => {
Name: 'tag-key',
Values: ['tagA', 'tagB'],
},
{
Name: 'owner-id',
Values: ['012345678901'],
},
{
Name: 'tag:tagC',
Values: ['valueC', 'otherValueC'],
Expand Down

0 comments on commit 9cdace1

Please sign in to comment.