import { expect, test } from "bun:test" import { darkGlow } from "./dark-glow" import { checkSource } from "./support/check-source" test.each([ ["", 1], ["", 1], ["", 0], ["", 0], ["", 0], ["", 0], ["", 0], ])("#given glow page source #then returns %i findings", (source, count) => { expect(checkSource(darkGlow, source, { path: "a.astro" })).toHaveLength(count) })