try async call

This commit is contained in:
Moriz Wahl 2021-09-02 08:29:13 +02:00
parent 4bed49a97e
commit fc2af656db

View File

@ -136,8 +136,8 @@ describe('DashboardLayoutGdd', () => {
await flushPromises()
})
it('calls the API', () => {
expect(apolloMock).toBeCalled()
it('calls the API', async () => {
await expect(apolloMock).toBeCalled()
})
it('dispatches logout to store', () => {