Skip to content

Commit

Permalink
Prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
AzizPatel786 committed Oct 6, 2024
1 parent bfdea14 commit 7420ed1
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions server/src/middleware/tests/EventController.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -88,13 +88,15 @@ describe("EventController endpoint tests", () => {
})

it("should not include google_forms_link if event is not within 1 minute", async () => {
await eventService.createEvent(event3)
await eventService.createEvent(event3)

const res = await request.get("/events").send()

expect(res.body.data).toContainEqual(
expect.not.objectContaining({
google_forms_link: expect.not.stringContaining("https://random.com/event3")
google_forms_link: expect.not.stringContaining(
"https://random.com/event3"
)
})
)
})
Expand Down

0 comments on commit 7420ed1

Please sign in to comment.