This commit is contained in:
2024-04-30 00:50:27 +02:00
parent ff8cc4cccf
commit dc1b955a8a
6 changed files with 90 additions and 11 deletions

9
api/tests/_setupFile.ts Normal file
View File

@@ -0,0 +1,9 @@
import { connectDB, dropDB, dropCollections } from '../src/utils/test_mongodb';
beforeAll(async () => {
await connectDB();
});
afterAll(async () => {
await dropDB();
});