32 lines
1.4 KiB
JavaScript
32 lines
1.4 KiB
JavaScript
// tests/fix-round-4-5b2-b-mutations.mjs
|
|
// The mutations of fix round 4.5b2, part B (plan
|
|
// .claude/projects/2026-10-31-review-gate-4-5b2, Step 16; decisions 129 and
|
|
// 132), for the shared red script (tests/helpers/red-round.sh, through
|
|
// tests/helpers/red-mutate.mjs).
|
|
// Every other id of the round is new behaviour whose tests fail on an
|
|
// assertion at the round's start point 96fba75, and kept behaviour is an
|
|
// untagged keep: test or a Control: assertion inside a red tagged test.
|
|
// An id named here has tests that pass at 96fba75 and is proven red under its
|
|
// mutation instead:
|
|
// - FXS: the main-merge-declined reason list is in
|
|
// tests/fixtures/jsonl-schemas.md, under the working tree's tests/ that
|
|
// the script copies into the clone, so it already holds
|
|
// review-unanswered there; the mutation takes review-unanswered out of
|
|
// the fixture's list again.
|
|
// Every span must match exactly once in the clone (96fba75's code with the
|
|
// working tree's tests/). Data only; never matched by `npm test`.
|
|
|
|
export const MUTATIONS = [
|
|
{
|
|
key: 'FXS-fixture',
|
|
id: 'FXS',
|
|
what: "the fixture's main-merge-declined reasons lose review-unanswered",
|
|
spans: [
|
|
{
|
|
file: 'tests/fixtures/jsonl-schemas.md',
|
|
find: '`review-stale`, `review-unanswered`, `review-not-measured`',
|
|
replace: '`review-stale`, `review-not-measured`',
|
|
},
|
|
],
|
|
},
|
|
];
|