mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
delete user after testing
This commit is contained in:
parent
bab96aaa1e
commit
53fd7f52df
1 changed files with 2 additions and 1 deletions
|
|
@ -93,8 +93,9 @@ describe('create user', () => {
|
|||
fake = sinon.replace(util, 'sendEmail', sinon.fake.resolves(false))
|
||||
})
|
||||
|
||||
after(() => {
|
||||
after(async () => {
|
||||
sinon.restore()
|
||||
await deleteTestUser(name)
|
||||
})
|
||||
|
||||
it('rejects with error', async () => {
|
||||
|
|
|
|||
Loading…
Reference in a new issue