body as Markdown", () => {
const html = render(DETAILS);
expect(html).toContain("");
expect(html).toContain("benchmark_config.toml");
});
it("renders the inline
attributes posts use", () => {
const html = render('
');
expect(html).toContain('alt="A screenshot"');
expect(html).toContain('width="491"');
expect(html).not.toContain("<img");
});
it("still escapes angle brackets inside code spans", () => {
const html = render("Snapshots live at `snapshots/v.tar.gz`.");
expect(html).toContain("snapshots/v<version>.tar.gz");
});
});