Fix types
This commit is contained in:
parent
beaeff90cc
commit
95f66ebd9d
|
@ -314,7 +314,7 @@ describe("scim", () => {
|
||||||
|
|
||||||
const user = await config.getUser(email)
|
const user = await config.getUser(email)
|
||||||
expect(user).toBeDefined()
|
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 () => {
|
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)
|
const user = await config.getUser(email)
|
||||||
expect(user).toBeDefined()
|
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 () => {
|
it("if no email is provided and the user name is not an email, an exception is thrown", async () => {
|
||||||
|
|
Loading…
Reference in New Issue