Add afterEach block to DeleteUser block

- not able to reliably get reproduce build failure locally
This commit is contained in:
Matt Rider 2019-06-07 13:58:53 -03:00
parent 6b0c1312f1
commit cc1be62bbd

View File

@ -108,6 +108,10 @@ describe('users', () => {
deleteUserVariables = { id: 'u343' }
})
afterEach(async () => {
await factory.cleanDatabase()
})
describe('unauthenticated', () => {
it('throws authorization error', async () => {
client = new GraphQLClient(host)