Skip to content

Commit 194283e

Browse files
committed
Format
1 parent 552a95e commit 194283e

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

test/e2e/community-events.spec.ts

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -258,7 +258,10 @@ test("upcoming and past sections only show events on the correct side of now", a
258258
const upcomingDates = await readSectionDates(upcomingSection)
259259
expect(upcomingDates.length).toBeGreaterThan(0)
260260
upcomingDates.forEach(({ iso, text }) => {
261-
expect(iso.length, `${text} is missing a datetime attribute`).toBeGreaterThan(0)
261+
expect(
262+
iso.length,
263+
`${text} is missing a datetime attribute`,
264+
).toBeGreaterThan(0)
262265
const timestamp = Date.parse(iso)
263266
expect(
264267
Number.isNaN(timestamp),
@@ -273,7 +276,10 @@ test("upcoming and past sections only show events on the correct side of now", a
273276
const pastDates = await readSectionDates(pastEventsSection)
274277
expect(pastDates.length).toBeGreaterThan(0)
275278
pastDates.forEach(({ iso, text }) => {
276-
expect(iso.length, `${text} is missing a datetime attribute`).toBeGreaterThan(0)
279+
expect(
280+
iso.length,
281+
`${text} is missing a datetime attribute`,
282+
).toBeGreaterThan(0)
277283
const timestamp = Date.parse(iso)
278284
expect(
279285
Number.isNaN(timestamp),

0 commit comments

Comments
 (0)