1
0
forked from fr/deguapp
deguapp/api/tests/_setupFile.ts

10 lines
174 B
TypeScript
Raw Normal View History

2024-05-12 21:25:52 +02:00
import { connectDB, dropDB, dropCollections } from "../src/utils/test_mongodb";
2024-04-30 00:50:27 +02:00
beforeAll(async () => {
await connectDB();
});
afterAll(async () => {
await dropDB();
});