Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion src/tests/components/TiptapTemplateEditor.test.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import { act, render, screen, waitFor } from "@testing-library/react";
import "@testing-library/jest-dom";
import { describe, it, beforeEach, expect, vi } from "vitest";
import { ModelManager } from "@accordproject/concerto-core";
import TiptapTemplateEditor from "../../editors/TiptapTemplateEditor";
import useAppStore from "../../store/store";

Expand Down Expand Up @@ -34,7 +35,7 @@ describe("TiptapTemplateEditor", () => {

it("retries parsing when modelManager changes after an external markdown load", async () => {
const loadedMarkdown = "Loaded sample markdown";
const modelManager = { id: "new-model-manager" };
const modelManager = new ModelManager({ strict: true });
const parsedDoc = {
$class: "org.accordproject.commonmark@0.5.0.Document",
nodes: [],
Expand Down