mirror of
https://github.com/bpatrik/pigallery2.git
synced 2024-12-23 01:27:14 +02:00
Adding object managers init to tests
This commit is contained in:
parent
9ebb9d46b7
commit
8d22141e88
@ -21,6 +21,7 @@ describe('Settings middleware', () => {
|
||||
beforeEach(async () => {
|
||||
await ObjectManagers.reset();
|
||||
await fs.promises.rm(tempDir, {recursive: true, force: true});
|
||||
await ObjectManagers.InitSQLManagers();
|
||||
});
|
||||
|
||||
it('should save empty enforced users settings', (done: (err?: any) => void) => {
|
||||
|
Loading…
Reference in New Issue
Block a user