mirror of
https://github.com/IT4Change/Ocelot-Social.git
synced 2025-12-13 07:45:56 +00:00
db reset at start of statistics test in backend must be async
This commit is contained in:
parent
9a6759aae4
commit
65d33ccdae
@ -21,7 +21,7 @@ const statisticsQuery = gql`
|
||||
}
|
||||
}
|
||||
`
|
||||
beforeAll(() => {
|
||||
beforeAll(async () => {
|
||||
authenticatedUser = undefined
|
||||
const { server } = createServer({
|
||||
context: () => {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user