diff --git a/packages/tui/test/print.test.tsx b/packages/tui/test/print.test.tsx index f783e32..517b4f4 100644 --- a/packages/tui/test/print.test.tsx +++ b/packages/tui/test/print.test.tsx @@ -231,7 +231,7 @@ test('Ctrl+P on a record prints its record sheet; F8 says Print where there is n expect(String(run.values.headerServer)).toContain('fake.test') expect(run.values.headerUser).toBe(h.store.status.user) expect(String(run.values.headerPrintedAt)).toMatch(/\d/) - expect(String(run.values.footerLeft)).toMatch(/^qqq ui \d+\.\d+\.\d+ · .*fake\.test/) + expect(String(run.values.footerLeft)).toMatch(/^qqq ui \d+\.\d+\.\d+(?:-[0-9A-Za-z.-]+)? · .*fake\.test/) }) test('Print what? → Screen prints the terminal as drawn; a record print carries the breadcrumb', async () => { diff --git a/packages/tui/test/splash.test.tsx b/packages/tui/test/splash.test.tsx index 72d3c02..3d8dd0f 100644 --- a/packages/tui/test/splash.test.tsx +++ b/packages/tui/test/splash.test.tsx @@ -108,7 +108,7 @@ test('one profile: the splash shows Query, the wordmark, the version and the boo const f = await waitFor(h, (x) => x.includes('Terminal client for QQQ')) expect(h.store.screen?.kind).toBe('splash') expect(f).toContain(versionLine()) - expect(f).toMatch(/qqq \d+\.\d+\.\d+ · UI API client \d+\.\d+\.\d+/) + expect(f).toMatch(/qqq \d+\.\d+\.\d+(?:-[0-9A-Za-z.-]+)? · UI API client \d+\.\d+\.\d+/) expect(f).toContain('█') // no title bar, status line or key bar under the splash expect(f).not.toMatch(/10\s*Quit/)