db reset at start of statistics test in backend must be async

This commit is contained in:
Moriz Wahl 2021-01-28 20:29:54 +01:00
parent 9a6759aae4
commit 65d33ccdae

View File

@ -21,7 +21,7 @@ const statisticsQuery = gql`
}
}
`
beforeAll(() => {
beforeAll(async () => {
authenticatedUser = undefined
const { server } = createServer({
context: () => {