1
0
mirror of https://github.com/laurent22/joplin.git synced 2025-11-06 09:19:22 +02:00

Server: Fixed tests and clean up

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

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 () => {