fix: 🐛 Added isAuthenticated to test user (#119)
Needed for background app state change in app
This commit is contained in:
parent
c3b4b153c3
commit
766f4fff52
|
@ -171,6 +171,7 @@ describe('api', () => {
|
|||
expect(user).toEqual({
|
||||
firstName: 'Namn',
|
||||
lastName: 'Namnsson',
|
||||
isAuthenticated: true
|
||||
})
|
||||
|
||||
const children = await api.getChildren()
|
||||
|
|
|
@ -1091,6 +1091,7 @@ const data: any = {
|
|||
export const user = (): User => ({
|
||||
firstName: 'Namn',
|
||||
lastName: 'Namnsson',
|
||||
isAuthenticated: true
|
||||
})
|
||||
|
||||
export const children = (): EtjanstChild[] => [
|
||||
|
|
Loading…
Reference in New Issue