Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: replace jest with vitest (#11270)
**Related Issue:** N/A ## Summary Unifies testing by leveraging existing `vitest` setup. ### Notes - test workflows are mostly unchanged (key change involves imports – see https://vitest.dev/api/) - `jest-axe` is still used as it works with our current Puppeteer setup - [`vitest-axe`](https://github.com/chaance/vitest-axe#readme) is still in prerelease and has a known issue when integrated with `happy-dom` - updates ESLint, Renovate configs, VS Code launch action and _some_ doc - Preact example [still uses jest](https://github.com/Esri/calcite-design-system/blob/dev/examples/components/preact/package.json#L16) – we can tackle this in a follow-up - Moves `vitest` dep to monorepo root (might need to keep under `calcite-components` to ensure Lumina doesn't remove matching triple-slash directives - Removes obsolete `commonTests`-scoped ESLint config --------- Co-authored-by: Ben Elan <[email protected]>
- Loading branch information