Test that we return _something_
This commit is contained in:
parent
97a8a4f52c
commit
ed5fdb1de2
@ -1 +1,4 @@
|
|||||||
export default {}
|
const createUserManager = () => jest.fn().mockReturnValue({})
|
||||||
|
const loadUser = () => jest.fn()
|
||||||
|
|
||||||
|
export { createUserManager, loadUser }
|
||||||
|
|||||||
@ -14,4 +14,10 @@ describe('getUserManagerForOpenIdConnectClient', () => {
|
|||||||
|
|
||||||
expect(returnVal).toEqual(expectedReturnVal)
|
expect(returnVal).toEqual(expectedReturnVal)
|
||||||
})
|
})
|
||||||
|
|
||||||
|
it('does not return undefined when store and oidcSettings are defined', () => {
|
||||||
|
const returnVal = getUserManagerForOpenIdConnectClient({}, {})
|
||||||
|
|
||||||
|
expect(returnVal).not.toBe(undefined)
|
||||||
|
})
|
||||||
})
|
})
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user