Skip to content
Snippets Groups Projects
Commit 4db3eeee authored by Albin Henriksson's avatar Albin Henriksson
Browse files

Fix non compiling test

parent 4cff23cb
No related branches found
No related tags found
Loading
Pipeline #44739 passed with warnings
...@@ -54,7 +54,7 @@ it('dispatches correct action when logging out from competition', async () => { ...@@ -54,7 +54,7 @@ it('dispatches correct action when logging out from competition', async () => {
return Promise.resolve({ data: {} }) return Promise.resolve({ data: {} })
}) })
const store = mockStore({}) const store = mockStore({})
await logoutCompetition()(store.dispatch) await logoutCompetition('Judge')(store.dispatch)
expect(store.getActions()).toEqual([{ type: Types.SET_COMPETITION_LOGIN_UNAUTHENTICATED }]) expect(store.getActions()).toEqual([{ type: Types.SET_COMPETITION_LOGIN_UNAUTHENTICATED }])
}) })
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment