Skip to content

Commit

Permalink
assert on policy count
Browse files Browse the repository at this point in the history
  • Loading branch information
postsa committed Oct 5, 2023
1 parent 9280fec commit 59d3ec5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/aws-cdk-lib/aws-events/test/event-bus.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -609,6 +609,7 @@ describe('event bus', () => {
// THEN
expect(add1.statementAdded).toBe(true);
expect(add2.statementAdded).toBe(true);
Template.fromStack(stack).resourceCountIs('AWS::Events::EventBusPolicy', 2);
});

test('Event Bus policy statements must have a sid', () => {
Expand Down

0 comments on commit 59d3ec5

Please sign in to comment.