-
Notifications
You must be signed in to change notification settings - Fork 309
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
Component test with library working with Jasmine Karma fails in Jest #703
Comments
Hi, you can try |
ok I have checked the branch formly-extension branch, the issue is that you need to always run With Jasmine, Angular CLI will start running It's not really related to #409 , unless you encounter issues which were mentioned in 02d272e , you will need to use |
Thanks for the quick reply, you are right running Email me and I will PayPal you a beer or coffee. Just let me know how much. Thanks again! |
@vespertilian you can use https://buymeacoff.ee/ahnpnl, @ahnpnl definitely deserves the recognition, he is putting a ton of work into this library. |
🐛 Bug Report
Hi, thanks for this library.
So I have an issue where I was debugging Angular Formly and submitted a bug (via a repo) , and we got that fixed over the Christmas break.
So I tried to integrate the changes into my app (which uses JEST). Sadly it was not working. So I checked the original sample repo using Jasmine and it was working.
I am not sure why this will not work with Jest but does with Jasmine. It could be because I am using the library and is an IVY compatibility problem.
It's a fairly complex ball of code, which is why I want a spec to make sure my code is working with the Angular Formly code.
If it's an IVY problem and I just need to wait for some progress on #409, that's fine just wanted to log it because I have the sample and try to understand the root cause.
Any help greatly appreciated.
Wallaby JS give me this error:
Vanilla JEST gives me this error
To Reproduce
See repos run specs.
Expected behavior
See repo spec, components should render.
Link to repo (highly encouraged)
examples in formly-extension branch
https://github.com/vespertilian/angular-test-app-jasmine
https://github.com/vespertilian/angular-test-app-jest
checkout formly-extension branch
Error log:
envinfo
The text was updated successfully, but these errors were encountered: