Replace Jest with Vitest across the workspace. The brain and helm Angular suites
now run in a real browser (Playwright/Chromium via Vitest browser mode) so they
exercise real layout, focus, pointer events and computed styles that jsdom could
not. The cli, tools, mcp, registry and cli-smoke suites run on Vitest's node
environment.
- Add per-project vite configs and switch test targets to @nx/vitest:test
- Convert jest APIs to vi.* and jest module mocks to vi.mock with importOriginal
- Replace jest-axe with a browser-native axe-core helper and toHaveNoViolations
- Regenerate snapshots in vitest format (content unchanged, format-only)
- Remove all jest packages, configs, the preset and the @nx/jest target default
- Install Playwright Chromium in the CI unit job for the browser suites
Also fixes a brain avatar test that asserted inside a fire-and-forget setTimeout,
which passed vacuously under jsdom and only surfaced once a real browser loaded
the image.
- future proof glob pattern for style guide changes
- identify required inputs
- moved models to input/output
- simplified ui docs test with snapshot
- ensure snapshot test considers only critical properties of api metadata
* feat(nx): convert to eslint flat config
* fix(nx): use .cjs extensions for flat config to work
---------
Co-authored-by: Robin Goetz <35136007+goetzrobin@users.noreply.github.com>
in the spirit of shadcn ui we want people to own their styles.
this is a first step that allows us to easily turn our internal
hlm directives, components, etc. into templates for nx an nx
generator. Which means that inside an nx workspace you will be
able to simply copy our styles into your own library.