Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Karma is now deprecated, what's next? #768

Closed
FrancescoBorzi opened this issue Aug 10, 2023 · 2 comments
Closed

Karma is now deprecated, what's next? #768

FrancescoBorzi opened this issue Aug 10, 2023 · 2 comments

Comments

@FrancescoBorzi
Copy link
Contributor

With Karma being now deprecated and Angular moving to Jest / Web Test Runner, I think we should also consider moving forward angular-electron.

References:

https://github.com/karma-runner/karma#karma-is-deprecated-and-is-not-accepting-new-features-or-general-bug-fixes

https://blog.angular.io/moving-angular-cli-to-jest-and-web-test-runner-ef85ef69ceca

https://modern-web.dev/docs/test-runner/writing-tests/mocking/

@maximegris
Copy link
Owner

maximegris commented Aug 16, 2023

I think we could start using Jest instead of Karma.

I make a quick test by adding @angular-builders/jest library after removing all reference to karma & jasmine.
It works well on my default unit tests but these are not exhaustive...
Here the open MR #771

@maximegris
Copy link
Owner

I took the opportunity to merge the MR #771 relative to JEST migration after merging Angular 17 MR.

Thanks again.

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

No branches or pull requests

2 participants