mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-05-14 23:24:46 -04:00
test: ensure testSetup.cleanup is called
Signed-off-by: David Mehren <git@herrmehren.de>
This commit is contained in:
parent
f0e6f6150d
commit
a6734cc58f
14 changed files with 55 additions and 28 deletions
|
@ -38,6 +38,10 @@ describe('Auth', () => {
|
|||
password = 'test_password';
|
||||
});
|
||||
|
||||
afterAll(async () => {
|
||||
await testSetup.cleanup();
|
||||
});
|
||||
|
||||
describe('POST /auth/local', () => {
|
||||
it('works', async () => {
|
||||
const registrationDto: RegisterDto = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue