tests moved to a proper place

This commit is contained in:
Henry Jameson 2026-09-02 17:49:27 +03:00
commit e9b70fcb0e
4 changed files with 483 additions and 472 deletions

View file

@ -62,6 +62,7 @@ export const useDraftsStore = defineStore('drafts', {
},
async addOrSaveDraft(draft) {
const id = draft.id ?? new Date().getTime().toString()
console.log('SAVE', id)
const draftWithId = { ...draft, id }
this.drafts.set(draft.id, draftWithId)
await saveDraftToStorage(draftWithId)