mirror of
				https://github.com/zadam/trilium.git
				synced 2025-10-31 18:36:30 +01:00 
			
		
		
		
	test(server): use becca mocking for single export test
This commit is contained in:
		| @@ -1,10 +1,10 @@ | ||||
| import { describe, expect, it } from "vitest"; | ||||
| import BNote from "../../becca/entities/bnote.js"; | ||||
| import { mapByNoteType } from "./single.js"; | ||||
| import { buildNote } from "../../test/becca_easy_mocking.js"; | ||||
|  | ||||
| describe("Note type mappings", () => { | ||||
|     it("supports mermaid note", () => { | ||||
|         const note = new BNote({ | ||||
|         const note = buildNote({ | ||||
|             type: "mermaid", | ||||
|             title: "New note" | ||||
|         }); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user