Skip to content

Commit

Permalink
tests: fix test following parsing job.data instead of job
Browse files Browse the repository at this point in the history
  • Loading branch information
LucasCharrier committed Feb 11, 2025
1 parent eb64dcd commit 575479c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion __tests__/test-create-member-send-email.ts
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,9 @@ describe("Test creating new user flow : sending email", () => {

it("should send email to all members of incubator's teams", async () => {
await sendNewMemberValidationEmail({
userId: newUser.uuid,
data: {
userId: newUser.uuid,
},
} as unknown as PgBoss.Job<SendNewMemberValidationEmailSchemaType>);
const memberDbData = await getUserBasicInfo({ uuid: newUser.uuid });
[
Expand Down

0 comments on commit 575479c

Please sign in to comment.