From b5c12772b78a4a423c6f41fbcffc26c56f5141cb Mon Sep 17 00:00:00 2001 From: Katrina Connors Date: Thu, 10 Oct 2024 13:42:31 -0700 Subject: [PATCH] update test for new content --- src/backend/routers/para.test.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/backend/routers/para.test.ts b/src/backend/routers/para.test.ts index ecb07a97..71eacc7a 100644 --- a/src/backend/routers/para.test.ts +++ b/src/backend/routers/para.test.ts @@ -57,13 +57,13 @@ test("createPara", async (t) => { .selectFrom("user") .where("first_name", "=", "Foo") .selectAll() - .executeTakeFirst() + .executeTakeFirst(), ); t.true( nodemailerMock.mock .getSentMail() - .some((mail) => mail.subject?.includes("confirmation")) + .some((mail) => mail.subject?.includes("classroom")), ); }); @@ -105,7 +105,7 @@ test("createPara - invalid email", async (t) => { first_name: "Foo", last_name: "Bar", email: "invalid-email", - }) + }), ); });