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