Clean database before all tests to remove unwanted artefacts.

This commit is contained in:
Dries Cruyskens 2020-06-13 18:16:10 +02:00
parent 0b8deba435
commit 213ce12f70

View File

@ -25,6 +25,7 @@ beforeEach(() => {
})
beforeAll(() => {
cleanDatabase()
const { server } = createServer({
context: () => {
return {