test(server): use becca mocking for single export test

This commit is contained in:
Elian Doran
2025-10-21 12:31:26 +03:00
parent 5291649c50
commit 10f844f232

View File

@@ -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"
});