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