Skip to content

Commit

Permalink
mock formatted
Browse files Browse the repository at this point in the history
  • Loading branch information
whiitex committed Jan 7, 2024
1 parent 70964e7 commit 0f046a7
Showing 1 changed file with 11 additions and 13 deletions.
24 changes: 11 additions & 13 deletions shared/src/recruitment-session.spec.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import {
RecruitmentSession,
RecruitmentSessionState,
createRecruitmentSessionSchema,
applyAbilitiesOnRecruitmentSession
RecruitmentSession,
RecruitmentSessionState,
createRecruitmentSessionSchema,
applyAbilitiesOnRecruitmentSession,
} from "./recruitment-session";
import { createMockAbility } from "./abilities.spec";
import { Action, UserAuth, checkAbility } from "./abilities";
Expand All @@ -14,15 +14,13 @@ describe("RecruitmentSession", () => {
slotDuration: 5,
interviewStart: new Date("15:20"),
interviewEnd: new Date("16:30"),
lastModified: new Date("2000-10-20 15:10")
lastModified: new Date("2000-10-20 15:10"),
};

it("prova", () => {
expect(createRecruitmentSessionSchema.validate(mockRecSess)).not.toHaveProperty("erroe");
})


})


})
expect(
createRecruitmentSessionSchema.validate(mockRecSess)
).not.toHaveProperty("erroe");
});
});
});

0 comments on commit 0f046a7

Please sign in to comment.