mirror of
https://github.com/callumalpass/tasknotes.git
synced 2026-07-22 12:50:26 +00:00
Add unit tests that reproduce the bug where the "Unsaved Changes" popup appears randomly when closing the task edit modal without making changes. Root cause: Inconsistent normalization between extractDetailsFromContent() (uses trimEnd) and normalizeDetails() (does not use trimEnd). When the markdown editor fires onChange with trailing whitespace, the comparison fails and triggers a false positive. Tests fail intentionally to document the bug. They should pass once the fix is implemented. Relates to #1344 |
||
|---|---|---|
| .. | ||
| ProjectSelectModal.property-filter.test.ts | ||
| TaskCreationModal-original.test.ts.bak | ||
| TaskCreationModal.plus-search.searchable-flag.test.ts | ||
| TaskCreationModal.plus-suggestions.test.ts | ||
| TaskCreationModal.project-suggestions.highlight-selective.test.ts | ||
| TaskCreationModal.project-suggestions.highlighting.test.ts | ||
| TaskCreationModal.project-suggestions.render-card.test.ts | ||
| TaskCreationModal.projects-with-commas.test.ts | ||
| TaskCreationModal.status-suggestions.test.ts | ||
| TaskCreationModal.test.ts | ||
| TaskEditModal.projects-with-commas.test.ts | ||
| TaskEditModal.unsaved-changes.test.ts | ||
| TaskModal.user-fields.test.ts | ||