Skip to content

refactor(tests): migrate test files to Vitest and improve test setups#1023

Merged
godind merged 1 commit intomasterfrom
test-migration
Mar 23, 2026
Merged

refactor(tests): migrate test files to Vitest and improve test setups#1023
godind merged 1 commit intomasterfrom
test-migration

Conversation

@godind
Copy link
Copy Markdown
Collaborator

@godind godind commented Mar 23, 2026

  • Updated test files to use Vitest instead of Jasmine, including imports and test structure.
  • Enhanced WidgetHeelGaugeComponent tests with mock implementations for SVG methods and added providers for dependencies.
  • Refactored test setup to include necessary mocks for canvas and media elements.
  • Created shims for external libraries (Gridstack, Canvas Gauges) to facilitate testing without actual implementations.
  • Improved error handling and logging in icon registration during tests.
  • Removed deprecated test setup files and configurations.
  • Updated tsconfig files to reflect changes in testing libraries and configurations.

- Updated test files to use Vitest instead of Jasmine, including imports and test structure.
- Enhanced WidgetHeelGaugeComponent tests with mock implementations for SVG methods and added providers for dependencies.
- Refactored test setup to include necessary mocks for canvas and media elements.
- Created shims for external libraries (Gridstack, Canvas Gauges) to facilitate testing without actual implementations.
- Improved error handling and logging in icon registration during tests.
- Removed deprecated test setup files and configurations.
- Updated tsconfig files to reflect changes in testing libraries and configurations.
@godind godind merged commit dd5d7e5 into master Mar 23, 2026
2 of 9 checks passed
@godind godind deleted the test-migration branch March 23, 2026 02:18
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