tests for note properties

This commit is contained in:
zadam
2020-05-23 20:52:55 +02:00
parent bb03a8714a
commit a2e1fb35b8
5 changed files with 151 additions and 4 deletions

View File

@@ -13,7 +13,7 @@ async function load() {
noteCache.reset();
(await sql.getRows(`SELECT noteId, title, isProtected FROM notes WHERE isDeleted = 0`, []))
(await sql.getRows(`SELECT noteId, title, type, mime, isProtected, dateCreated, dateModified, utcDateCreated, utcDateModified, contentLength FROM notes WHERE isDeleted = 0`, []))
.map(row => new Note(noteCache, row));
(await sql.getRows(`SELECT branchId, noteId, parentNoteId, prefix FROM branches WHERE isDeleted = 0`, []))