mirror of
https://github.com/Ocelot-Social-Community/Ocelot-Social.git
synced 2025-12-13 07:46:06 +00:00
Nested beforeEach
- flaky test, leaky info
This commit is contained in:
parent
687e121658
commit
ef1f5ea51c
@ -204,6 +204,10 @@ describe('users', () => {
|
|||||||
})
|
})
|
||||||
|
|
||||||
describe("deletes a user's", () => {
|
describe("deletes a user's", () => {
|
||||||
|
beforeEach(async () => {
|
||||||
|
deleteUserVariables = { id: 'u343', resource: [] }
|
||||||
|
})
|
||||||
|
|
||||||
it('posts on request', async () => {
|
it('posts on request', async () => {
|
||||||
deleteUserVariables = { id: 'u343', resource: ['Post'] }
|
deleteUserVariables = { id: 'u343', resource: ['Post'] }
|
||||||
await client.request(deleteUserMutation, deleteUserVariables)
|
await client.request(deleteUserMutation, deleteUserVariables)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user