We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9559acd commit d8a082aCopy full SHA for d8a082a
backend/question-service/tests/setup.ts
@@ -12,7 +12,7 @@ beforeAll(async () => {
12
afterEach(async () => {
13
const collections = await mongoose.connection.db?.collections();
14
if (collections) {
15
- for (let collection of collections) {
+ for (const collection of collections) {
16
await collection.deleteMany({});
17
}
18
backend/user-service/tests/setup.ts
0 commit comments