diff --git a/frontend/src/views/Layout/DashboardLayout_gdd.spec.js b/frontend/src/views/Layout/DashboardLayout_gdd.spec.js index bf866492e..614ddf9c4 100644 --- a/frontend/src/views/Layout/DashboardLayout_gdd.spec.js +++ b/frontend/src/views/Layout/DashboardLayout_gdd.spec.js @@ -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', () => {