-
Notifications
You must be signed in to change notification settings - Fork 308
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
missing export build
from package.json
in v9.0.0
#935
Comments
Please check this comment #925 (comment) |
If I understand the changelog correctly I have to add snapshotSerializers by adding When I try to run the test I receive the error Is there anything I missed from the changelog? |
You can omit entirely |
The error about Example config is here https://github.com/thymikee/jest-preset-angular/blob/master/examples/example-app-v12/jest.config.js |
build
from package.json
in v9.0.0
Okay thanks for clarifying. The error occures when using the example config too. |
I see your jest config in your repo is already migrated correctly :) |
Thanks for fixing it so quickly. How can I get the new changes? |
should be fixed now with 9.0.1 |
I now have the error:
`` |
that file doesn't exist anymore in v9.0.0 you need to remove it from your jest config. It is mentioned in Also make sure to clear Jest cache via |
Yeah this file isn`t reference in my jest config. I tried clearing the cache and deleted / reinstalled my node_modules but the problem stays. You can check my repo for the jest-config. I also tried it with another repository but have the same error unfortunately |
The current version of In summary, if you are using |
Do I need to use @angular-builder/jest? I need Jest 27 to import some modules I couldn`t import before. |
In your repo, if you replace
|
Hi I just updated the jest-preset-angular version and now receive another error when trying to run example tests.
🐛 Bug Report
File not found: jest-preset-angular/build/InlineFilesTransformer (resolved as: C:\Users___\Documents\frontend\jest-preset-angular\build\InlineFilesTransformer)
To Reproduce
Steps to reproduce the behavior:
Run
ng test
Expected behavior
Tests should run
Link to repo (highly encouraged)
https://github.com/NicolasTsc/jest-angular
Error log:
System:
OS: Windows 10
Npm packages:
jest: 27.0.1
jest-preset-angular: 9.0.0
typescript: 4.2.4
The text was updated successfully, but these errors were encountered: