Skip to content

Commit 36e4f22

Browse files
committed
CCM-13146 lint fixes
1 parent fdf47c1 commit 36e4f22

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

tests/playwright/digital-letters-component-tests/handle-ttl.component.spec.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ test.describe('Digital Letters - Handle TTL', () => {
6161
await expectToPassEventually(async () => {
6262
const eventLogEntry = await getLogsFromCloudwatch(
6363
`/aws/lambda/nhs-${ENV}-dl-ttl-handle-expiry`,
64-
`{ ($.messageUri = "${messageUri}") and ($.description = "ItemDequeued event not sent as item withdrawn") }`
64+
`{ ($.messageUri = "${messageUri}") and ($.description = "ItemDequeued event not sent as item withdrawn") }`,
6565
);
6666

6767
expect(eventLogEntry.length).toEqual(1);
@@ -100,7 +100,7 @@ test.describe('Digital Letters - Handle TTL', () => {
100100
await expectToPassEventually(async () => {
101101
const eventLogEntry = await getLogsFromCloudwatch(
102102
`/aws/vendedlogs/events/event-bus/nhs-${ENV}-dl`,
103-
`{ ($.id = "${letterId}") }`
103+
`{ ($.id = "${letterId}") }`,
104104
);
105105

106106
expect(eventLogEntry.length).toEqual(1);

tests/playwright/helpers/cloudwatch-helpers.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ test.beforeEach(() => {
1919
*/
2020
export async function getLogsFromCloudwatch(
2121
logGroupName: string,
22-
pattern: string
22+
pattern: string,
2323
): Promise<unknown[]> {
2424
const filterEvents = new FilterLogEventsCommand({
2525
logGroupName,
@@ -31,6 +31,6 @@ export async function getLogsFromCloudwatch(
3131
const { events = [] } = await client.send(filterEvents);
3232

3333
return events.flatMap(({ message }) =>
34-
message ? [JSON.parse(message)] : []
34+
message ? [JSON.parse(message)] : [],
3535
);
3636
}

0 commit comments

Comments
 (0)