mirror of
https://github.com/zadam/trilium.git
synced 2025-11-02 03:16:11 +01:00
extra search tests
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user