Server: Fixed tests and clean up

This commit is contained in:
Laurent Cozic committed 2021-01-15 22:02:36 +00:00
1 parent 7fd4c28a5b
commit eb3493f648
4 files changed
+27 -57

No files matched your search

+2 -2
View File
@@ -2,10 +2,10 @@ import { createUserAndSession, beforeAllDb, afterAllTests, beforeEachDb, models,
import { File } from '../db';
import { ErrorForbidden, ErrorUnprocessableEntity } from '../utils/errors';
describe('NotificationModel', function() {
describe('UserModel', function() {
beforeAll(async () => {
await beforeAllDb('NotificationModel');
await beforeAllDb('UserModel');
});
afterAll(async () => {