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

Do not require zone.js for angular-builders/jest #1902

Open
luca-tl opened this issue Feb 4, 2025 · 0 comments
Open

Do not require zone.js for angular-builders/jest #1902

luca-tl opened this issue Feb 4, 2025 · 0 comments

Comments

@luca-tl
Copy link

luca-tl commented Feb 4, 2025

Is your feature request related to a problem? Please describe.
I want to run my angular application zoneless, but angular-builders/jest requires zone.js. See here https://github.com/just-jeb/angular-builders/blob/master/packages/jest/src/jest-config/setup.ts

Describe the solution you'd like
jest-preset-angular does have a setupZonelessTestEnv. Make this available to be used, so that I do not have to have a dependency to zone.js in my packages to run jest tests via the angular-builders

Describe alternatives you've considered
What works is to circumvent angular-builders/jest and just call jest directly without ng test and call the setup yourself.

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

1 participant