Skip to content

Conversation

@n-elhk
Copy link
Contributor

@n-elhk n-elhk commented Dec 31, 2025

This PR migrates the test infrastructure from Karma + Jasmine to Vitest, aligning the project with modern Angular (v21) testing recommendations and significantly improving test performance and developer experience.

  • Replace Karma & Jasmine with Vitest
  • Use Angular’s @angular/build:unit-test builder
  • Add Vitest configuration (vitest.config.ts)
  • Migrate test setup and initialization to Vitest
  • Replace Jasmine globals (describe, it, spyOn, etc.) with Vitest equivalents
  • Configure code coverage (HTML + LCOV)
  • Mock browser/WebGL-specific APIs where needed (e.g. MapLibre)
  • Remove Karma-specific configuration and dependencies

@n-elhk n-elhk force-pushed the feature/migrate-to-vitest branch from 1f3c3ed to 9474916 Compare December 31, 2025 17:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant