Commit Graph

7 Commits

Author SHA1 Message Date
Ashley Hunter 1b743f8019 test: migrate from jest to vitest with browser testing for brain/helm
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.
2026-06-13 15:16:45 +01:00
Merlin 6d60dc9d7d feat: add lint rule template last 2025-11-12 15:05:31 +01:00
Merlin 9e34f79ded refactor: consistent type import 2025-09-29 14:42:31 +02:00
moosme adf55dbdd3 refactor: polish imports (#890)
Co-authored-by: Merlin <merlin.moos@oldendorff.com>
2025-09-27 17:52:14 -04:00
Ashley Hunter 779f5b2c2c refactor(button): polishing button (#888)
* refactor(button): polishing button

* build: refactor RxJS imports and update button docs
2025-09-27 17:51:31 -04:00
Ashley Hunter 1dcd4a44fc refactor: import consistency (#881)
* refactor: import consistency

* fix: review feedback
2025-09-22 22:11:15 +02:00
moosme 8e0d084d36 feat(button): add anchor button #797 (#798)
* feat(button): add anchor button #797

* feat(button): change class to attr #797

---------

Co-authored-by: Merlin Moos <merlin.moos@oldendorff.com>
2025-08-24 22:29:15 +02:00