mirror of
https://github.com/IT4Change/Ocelot-Social.git
synced 2025-12-13 07:45:56 +00:00
Add afterEach block to DeleteUser block
- not able to reliably get reproduce build failure locally
This commit is contained in:
parent
6b0c1312f1
commit
cc1be62bbd
@ -108,6 +108,10 @@ describe('users', () => {
|
|||||||
deleteUserVariables = { id: 'u343' }
|
deleteUserVariables = { id: 'u343' }
|
||||||
})
|
})
|
||||||
|
|
||||||
|
afterEach(async () => {
|
||||||
|
await factory.cleanDatabase()
|
||||||
|
})
|
||||||
|
|
||||||
describe('unauthenticated', () => {
|
describe('unauthenticated', () => {
|
||||||
it('throws authorization error', async () => {
|
it('throws authorization error', async () => {
|
||||||
client = new GraphQLClient(host)
|
client = new GraphQLClient(host)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user