1
0
Fork 0
mirror of synced 2024-07-04 22:11:23 +12:00

Fix types

This commit is contained in:
Adria Navarro 2023-07-25 13:06:54 +02:00
parent beaeff90cc
commit 95f66ebd9d

View file

@ -314,7 +314,7 @@ describe("scim", () => {
const user = await config.getUser(email)
expect(user).toBeDefined()
expect(user.email).toEqual(email)
expect(user!.email).toEqual(email)
})
it("if multiple emails are provided, the first primary one is used as email", async () => {
@ -345,7 +345,7 @@ describe("scim", () => {
const user = await config.getUser(email)
expect(user).toBeDefined()
expect(user.email).toEqual(email)
expect(user!.email).toEqual(email)
})
it("if no email is provided and the user name is not an email, an exception is thrown", async () => {