fix(core): update

This commit is contained in:
2022-05-17 21:26:17 +02:00
parent a739582861
commit 355a2a3f2b
10 changed files with 604 additions and 524 deletions

View File

@@ -45,12 +45,11 @@ tap.test('should create an easystore', async () => {
});
tap.test('close', async () => {
await testDb.mongoDb.dropDatabase();
await testDb.close();
if (smartmongoInstance) {
await smartmongoInstance.stop();
} else {
await testDb.mongoDb.dropDatabase();
}
await testDb.close();
});
tap.start();