Skip to content

Build your personal knowledge base with Trilium Notes

test(core): address requested change

Elian Doran55950e2f76c1
diff --git a/packages/trilium-core/src/becca/entities/bnote_tree.spec.ts b/packages/trilium-core/src/becca/entities/bnote_tree.spec.ts
index c870fe781a..c079a7ae09 100644
--- a/packages/trilium-core/src/becca/entities/bnote_tree.spec.ts
+++ b/packages/trilium-core/src/becca/entities/bnote_tree.spec.ts
@@ -28,7 +28,7 @@ function createNote(
noteService.createNewNote({
parentNoteId,
title: `bnote-tree-spec-${counter}`,
- content: type === "search" ? content : content,
+ content: type === "search" ? "" : content,
type
})
);