extra search tests

This commit is contained in:
zadam
2020-08-30 23:42:24 +02:00
parent 5fd58def11
commit f3efb22a50
2 changed files with 47 additions and 10 deletions

View File

@@ -57,8 +57,8 @@ function id() {
return randtoken.generate(10);
}
function note(title) {
const note = new Note(noteCache, {noteId: id(), title});
function note(title, type = 'text', mime = 'text/html') {
const note = new Note(noteCache, {noteId: id(), title, type, mime});
return new NoteBuilder(note);
}