gram/fuzz/tests/regressions.test.ts
abiwab c218790410
Some checks failed
CI / Build & Test (pull_request) Has been cancelled
test(fuzz): add deterministic fuzz harness for parser, kitchen, analyzer and formatter
2026-11-21 18:42:23 +01:00

13 lines
402 B
TypeScript

import { describe, expect, it } from "bun:test";
import { regressions } from "../src/regressions";
import { checkInput } from "../src/run";
describe("fuzz regressions", () => {
const cases = regressions();
it.skipIf(cases.length > 0)("none yet", () => {});
for (const { name, content } of cases) {
it(name, () => {
expect(checkInput(content).map((v) => v.signature)).toEqual([]);
});
}
});