fix: 🐛 Added isAuthenticated to test user (#119)

Needed for background app state change in app
This commit is contained in:
Viktor Sarström 2021-04-24 10:33:17 +02:00 committed by GitHub
parent c3b4b153c3
commit 766f4fff52
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 0 deletions

View File

@ -171,6 +171,7 @@ describe('api', () => {
expect(user).toEqual({
firstName: 'Namn',
lastName: 'Namnsson',
isAuthenticated: true
})
const children = await api.getChildren()

View File

@ -1091,6 +1091,7 @@ const data: any = {
export const user = (): User => ({
firstName: 'Namn',
lastName: 'Namnsson',
isAuthenticated: true
})
export const children = (): EtjanstChild[] => [