Closed geo242 closed 7 months ago
Hi @geo242,
Thank you for the report. This, however, isn't an issue within the Kendo UI for Angular issue but rather a known incompatibility issue between Jest and Angular v17. Please refer to the following issues:
https://github.com/jestjs/jest/issues/14876 https://github.com/jestjs/jest/issues/14875
As a workaround, please see this suggestion: https://github.com/jsdom/jsdom/issues/2524#issuecomment-897707183
Describe the bug
This only applies to projects using Angular 17+ and the new built in Jest testing support
Any tests of any components that include a Kendo module import (sample uses ButtonsModule) will fail with the following error message:
Component
Test
To Reproduce
ng new
ng add @progress/kendo-angular-buttons
)ng test
- verify that tests are workingapp.component
(e.g.ButtonsModule
)ng test
- verify that tests are now not workingExpected behavior Tests should pass
Screenshots N/A
Browser
Additional context