import { expect, test } from "bun:test"
import { brokenImage } from "./broken-image"
import { checkSource } from "./support/check-source"
test.each([
['', "a.tsx", 1],
['
', "a.tsx", 1],
['
', "a.tsx", 0],
['

', "a.tsx", 0],
['
', "a.tsx", 1],
['const example = "
";', "a.tsx", 0],
['
', "a.vue", 0],
['', "a.vue", 0],
["
", "a.svelte", 0],
['
', "a.astro", 1],
["// Plain
comment\nexport const A=()=>
;", "a.tsx", 0],
['