diff --git a/packages/annotate/test/annotate.test.ts b/packages/annotate/test/annotate.test.ts index b7218f886..627b9b3ca 100644 --- a/packages/annotate/test/annotate.test.ts +++ b/packages/annotate/test/annotate.test.ts @@ -5,9 +5,10 @@ import { join } from "node:path"; import { promisify } from "node:util"; import { renderHtmlFromDocument } from "@comark/html"; import { parseMarkdown } from "comark"; +import { scripts as carouselScripts } from "comark-carousel/html"; import security from "comark/plugins/security"; import { afterEach, describe, expect, it, vi } from "vite-plus/test"; -import annotate, { components } from "../src/html.ts"; +import annotate, { components, scripts } from "../src/html.ts"; import xref from "../../xref/src/index.ts"; async function run(markdown: string, options?: Parameters[0]) { @@ -21,6 +22,9 @@ async function run(markdown: string, options?: Parameters[0]) { // The stylesheet the renderer inlines, so the tests read the CSS a reader's browser gets. const styles = (html: string) => /