diff --git a/tests/unit/vyndrParityQA.test.js b/tests/unit/vyndrParityQA.test.js index 4a2e25e..824ff35 100644 --- a/tests/unit/vyndrParityQA.test.js +++ b/tests/unit/vyndrParityQA.test.js @@ -281,3 +281,20 @@ describe('P1-5 — dense rows CONTAIN at 390px (not just html overflow-x:hidden) expect((gc.match(/flexWrap: 'wrap', minWidth: 0/g) || []).length).toBeGreaterThanOrEqual(2); }); }); + +// ── P1-7 lock — the flat edge board never leads with a fabricated edge ─────── +describe('P1-7 — edge board guards the broken edge placeholder', () => { + it('EdgeCell + flattenToEdgeBoard both cap a sane market edge (absent > fake)', () => { + expect(read('components/vyndr/MobileEdgeBoard.tsx')).toMatch(/SANE_EDGE_MAX/); + expect(read('lib/slateAdapter.js')).toMatch(/EDGE_BOARD_SANE_MAX/); + }); +}); + +// ── P1-8 lock — Compare verdict makes no unverifiable "tonight" claim ──────── +describe('P1-8 — Compare verdict is time-honest (form, not a phantom game)', () => { + const compare = read('app/compare/page.tsx'); + it('the sample verdict never claims "tonight" (NBA has 0 games in July)', () => { + expect(compare).not.toMatch(/edge tonight/i); + expect(compare).toMatch(/on current form/i); + }); +}); diff --git a/web/src/app/compare/page.tsx b/web/src/app/compare/page.tsx index 387a83b..78ac651 100644 --- a/web/src/app/compare/page.tsx +++ b/web/src/app/compare/page.tsx @@ -59,7 +59,7 @@ export default function ComparePage() {
VYNDR VERDICT
- {SAMPLE.a.name} carries the higher floor on usage and playmaking — the edge tonight tilts his way. + {SAMPLE.a.name} carries the higher floor on scoring, boards, and playmaking — on current form, the edge tilts his way.