move clear all mocks to correct position

This commit is contained in:
Moriz Wahl 2022-11-16 14:42:45 +01:00
parent eac290919d
commit 36185a286a

View File

@ -1530,8 +1530,8 @@ describe('AdminResolver', () => {
describe('adminDeleteContribution', () => {
describe('creation id does not exist', () => {
jest.clearAllMocks()
it('throws an error', async () => {
jest.clearAllMocks()
await expect(
mutate({
mutation: adminDeleteContribution,