Skip to content

Commit

Permalink
style(test): fix EventSource test naming
Browse files Browse the repository at this point in the history
  • Loading branch information
mmalenic committed Feb 15, 2024
1 parent 4c19c15 commit fd9af7c
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions test/stateful/eventSourceConstruct.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ beforeEach(() => {
});

test('Test EventSource created props', () => {
new EventSource(stack, 'TestDatabaseConstruct', {
new EventSource(stack, 'TestEventSourceConstruct', {
queueName: 'queue',
maxReceiveCount: 100,
rules: [
Expand All @@ -55,7 +55,7 @@ test('Test EventSource created props', () => {
});

test('Test EventSource created props with event types', () => {
new EventSource(stack, 'TestDatabaseConstruct', {
new EventSource(stack, 'TestEventSourceConstruct', {
queueName: 'queue',
maxReceiveCount: 100,
rules: [
Expand All @@ -76,7 +76,7 @@ test('Test EventSource created props with event types', () => {
});

test('Test EventSource created props with prefix', () => {
new EventSource(stack, 'TestDatabaseConstruct', {
new EventSource(stack, 'TestEventSourceConstruct', {
queueName: 'queue',
maxReceiveCount: 100,
rules: [
Expand Down Expand Up @@ -104,8 +104,8 @@ test('Test EventSource created props with prefix', () => {
});
});

test('Test EventSource created props with all buckets', () => {
new EventSource(stack, 'TestDatabaseConstruct', {
test('Test EventSource created props with rules matching any bucket', () => {
new EventSource(stack, 'TestEventSourceConstruct', {
queueName: 'queue',
maxReceiveCount: 100,
rules: [{}],
Expand Down

0 comments on commit fd9af7c

Please sign in to comment.