Skip to content

Commit

Permalink
maybe?
Browse files Browse the repository at this point in the history
  • Loading branch information
stereobooster committed May 5, 2024
1 parent 837341d commit d36a9e7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/rehype-mermaid/test/index.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import remarkParse from "remark-parse";
import remarkRehype from "remark-rehype";
import rehypeStringify from "rehype-stringify";
import { afterAll, beforeAll, expect, it, vi } from "vitest";
import { chromium } from "playwright";

import rehypeMermaid from "../src";

Expand All @@ -27,7 +28,7 @@ it("renders diagram", async () => {
const file = await unified()
.use(remarkParse)
.use(remarkRehype)
.use(rehypeMermaid)
.use(rehypeMermaid, { browser: chromium })
.use(rehypeStringify)
.process(await fs.readFile(new URL("./fixtures/a.md", import.meta.url)));

Expand Down

0 comments on commit d36a9e7

Please sign in to comment.