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 fbf363a commit 828acf3
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion packages/rehype-mermaid/test/index.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,10 @@ it("renders diagram", async () => {
.use(rehypeStringify)
.process(await fs.readFile(new URL("./fixtures/a.md", import.meta.url)));

console.log(file.toString());
file
.toString()
.match(/.{1,100}/g)
?.forEach((x) => console.log(x));

expect(file.toString()).toMatchFileSnapshot("./fixtures/a.html");
});

0 comments on commit 828acf3

Please sign in to comment.