-
Notifications
You must be signed in to change notification settings - Fork 306
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
@angular/core and @angular/platform-browser-dynamic not listed in peerDependancies #140
Comments
Would you be interested in adding them as peer deps to this project? 🙂 cc @AhnpGit |
Fixed with PR 141 #141 |
Is the issue back? Cannot find module '@angular/platform-browser-dynamic/testing' from '../../../../node_modules/jest-preset-angular/build/config/setup-jest.js' Am I missing something? |
|
So should this issue be reopened then? |
fixed in 9.0.3, just published |
Cool, thanks! |
Hi,
I've just discovered this library. Kudos for the great work. It has really simplified our Jest setup while we are migrating our angular projects.
I thought I'd bring this to your attention, as I experienced it while installing the package.
We have a small repo with some simple angular api services. It's not a full application. It has a relatively straightforward setup. When I had the jest-preset-angular library configured with jest, I received an error :
Our repo doesn't use this module directly, so I would have expected it to have been raised as a missing peer dependancy upon installing the package. From looking at the
setupJest.js
file, it also appears that@angular/core
is also imported. Of course, angular projects should be expected to have this file, but this module should list this as a peer dependancy regardless.The text was updated successfully, but these errors were encountered: