mirror of
https://github.com/laurent22/joplin.git
synced 2026-06-18 20:16:34 +02:00
Server: Fixed tests and clean up
This commit is contained in:
1 parent
7fd4c28a5b
commit
eb3493f648
4 files changed
+27
-57
No files matched your search
@@ -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 () => {
|
||||
|
||||
Reference in new issue
Block a user