✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.
MongoDB
Файл тестів для моделі Task містить:
afterEach(async () => {
await TaskModel.deleteMany({});
});
Що станеться, якщо прибрати цей блок?