// Session 52 shipped BOOK IT as a "coming soon" teaser. A1 Session 3 // made it a REAL sportsbook deep link (organic until affiliateConfig // flips a book on). GradeResultCard's PUSH-TO-BOOK (account linking / // bet-slip push) remains a genuine teaser — that feature is unbuilt. const fs = require('fs'); const path = require('path'); const WEB = path.join(__dirname, '..', '..', 'web', 'src'); const read = (rel) => fs.readFileSync(path.join(WEB, rel), 'utf8'); describe('BOOK IT deep link (was the S52 teaser)', () => { it('StatStrip renders BOOK IT as a real anchor built by bookLinks', () => { const src = read('components/vyndr/StatStrip.tsx'); expect(src).toContain('BookItTeaser'); expect(src).toContain('BOOK IT ⟶'); expect(src).toContain(''); expect(src).toContain('buildBookLink({ book: target, player, sport })'); expect(src).toContain('rel={BOOK_LINK_REL}'); // the dead-span teaser copy is gone expect(src).not.toContain('Push-to-Book coming soon'); }); it('GradeResultCard still renders the honest "PUSH-TO-BOOK · COMING SOON" teaser', () => { const src = read('components/vyndr/GradeResultCard.tsx'); expect(src).toContain('PUSH-TO-BOOK · COMING SOON'); expect(src).toContain('Connect DraftKings, FanDuel, BetMGM'); }); });