(html: string, code: string, isSubComposition = true)
| 2 | import { lintHyperframeHtml } from "../hyperframeLinter.js"; |
| 3 | |
| 4 | async function findByCode(html: string, code: string, isSubComposition = true) { |
| 5 | const result = await lintHyperframeHtml(html, { isSubComposition }); |
| 6 | return result.findings.filter((f) => f.code === code); |
| 7 | } |
| 8 | |
| 9 | describe("font rules", () => { |
| 10 | describe("google_fonts_import", () => { |
no test coverage detected