fix: correct task migration field names and add markdown formatting flag

This commit is contained in:
Ivan Kalashnikov 2026-01-18 21:54:24 +07:00
parent 73c9c05c32
commit 5f4e1cf24e

View file

@ -15,6 +15,7 @@ describe('Migrate MiscConfig to TasksConfig', () => {
isAutoAddWorkedOnToToday: true,
isAutMarkParentAsDone: false,
isTrayShowCurrentTask: true,
isTurnOffMarkdown: false,
defaultProjectId: 'project_1',
taskNotesTpl: 'Template',
},
@ -27,10 +28,11 @@ describe('Migrate MiscConfig to TasksConfig', () => {
};
expect(migratedState.tasks).toEqual({
isConfirmBeforeTaskDelete: true,
isConfirmBeforeDelete: true,
isAutoAddWorkedOnToToday: true,
isAutoMarkParentAsDone: false,
isTrayShowCurrentTask: true,
isTrayShowCurrent: true,
isMarkdownFormattingInNotesEnabled: true,
defaultProjectId: 'project_1',
notesTemplate: 'Template',
});