Skip to content

v15.2.0

Choose a tag to compare

@jterrazz jterrazz released this 19 Sep 21:32
· 1889 commits to main since this release
52e2f7b

The component seam.

  • One specifier, @jterrazz/test, in every test: the root export answers a page under the browser condition; node-only seams refuse with one line.
  • component.intercept(c).wrap(fn).clock(iso).viewport(size).render(ui | domFn, scenario) on Vitest Browser Mode: real Chromium through the Playwright peer, msw served by the package, the ARIA tree as a golden, goldens read and written from the page, strictness total.
  • A component test is a .test.tsx beside its component, collected by the component() project helper (wrap, vite, root, serial, clock, viewport, timezone, locale); unit() and website() helpers set the group order so two Chromiums never share a slot.
  • The vocabulary gains gone(), focused(), selected(), valued(), option(), and the roles dialog status table row listitem; PageResult.tree.
  • Rules G4, E5, E5b, E6 and F6's five groups, each with fixtures and an anchored message.
  • Chapter 16 and ADR-003 (Accepted). Proven on the package's own fixture app on vitest 4.1 and 5.0, and on the jterrazz-os console's 42 tests.

Peers: vitest ^4.1.10 || ^5; optional @vitest/browser-playwright (exactly vitest's version), vitest-browser-react ^2.3, vite, react, react-dom.

🤖 Generated with Claude Code