Forgot to add cleanup to test
This commit is contained in:
parent
18ed995ec9
commit
203c8ece2b
1 changed files with 4 additions and 1 deletions
|
|
@ -79,7 +79,10 @@ describe(
|
||||||
// Garbage user id should return false
|
// Garbage user id should return false
|
||||||
const result3 = await db.updateStats("asdasdasd", false, true);
|
const result3 = await db.updateStats("asdasdasd", false, true);
|
||||||
expect(result3).toBe(false);
|
expect(result3).toBe(false);
|
||||||
|
|
||||||
|
// Deleting user
|
||||||
|
await db.removeUser(login, password);
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
{ timeout: 10000 }
|
{ timeout: 30000 }
|
||||||
);
|
);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue