From 34ff7782fa9ca0f5dc14e4849ce17e82b7d2192d Mon Sep 17 00:00:00 2001 From: Clare Macrae Date: Wed, 7 Aug 2024 22:53:04 +0100 Subject: [PATCH] test: Improve test names --- tests/Task/OnCompletion.test.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/Task/OnCompletion.test.ts b/tests/Task/OnCompletion.test.ts index 5a34022bb2..7e6080337a 100644 --- a/tests/Task/OnCompletion.test.ts +++ b/tests/Task/OnCompletion.test.ts @@ -46,7 +46,7 @@ describe('OnCompletion - parsing', () => { }); }); -describe('OnCompletion feature', () => { +describe('OnCompletion - cases where all tasks are retained', () => { it('should not delete an already-done task', () => { // Arrange const line = '- [x] An already-DONE, non-recurring task 🏁 delete ✅ 2024-02-10'; @@ -125,7 +125,7 @@ describe('OnCompletion feature', () => { }); }); -describe('OnCompletion - Delete action', () => { +describe('OnCompletion - "delete" action', () => { it('should retain only the next instance of a recurring task with "delete" Action upon completion', () => { // Arrange const task = makeTask('- [ ] A recurring task with "delete" Action 🔁 every day 🏁 delete 📅 2024-02-10');