Skip to content

Commit

Permalink
update test for new content
Browse files Browse the repository at this point in the history
  • Loading branch information
katconnors committed Oct 10, 2024
1 parent 718c4d3 commit b5c1277
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/backend/routers/para.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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")),
);
});

Expand Down Expand Up @@ -105,7 +105,7 @@ test("createPara - invalid email", async (t) => {
first_name: "Foo",
last_name: "Bar",
email: "invalid-email",
})
}),
);
});

Expand Down

0 comments on commit b5c1277

Please sign in to comment.