import { describe, expect, it } from "vitest";
import {
  DEFAULT_EDITOR_HOST_KIND,
  normalizeEditorHostKind,
} from "@/components/editor/editor-host-config";

describe("editor-host", () => {
  it("默认正式主链是 island host", () => {
    expect(DEFAULT_EDITOR_HOST_KIND).toBe("leptos_tiptap_island");
    expect(normalizeEditorHostKind("leptos_tiptap_runtime")).toBe("leptos_tiptap_island");
  });
});
