Skip to content

Commit

Permalink
test: Improve test names
Browse files Browse the repository at this point in the history
  • Loading branch information
claremacrae committed Aug 7, 2024
1 parent 1e45c0b commit 34ff778
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/Task/OnCompletion.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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';
Expand Down Expand Up @@ -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');
Expand Down

0 comments on commit 34ff778

Please sign in to comment.