-
Notifications
You must be signed in to change notification settings - Fork 30
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 12 breaks jasmine-auto-spies@6.9.3 (at least for me) #50
Comments
I have integrated jasmine-auto-spies in all my unit tests (~1800) with Angular 11. Unfortunately I also found no workaround but it seams to be a problem with the webpack 5. @shairez could you please help? |
@gestj @Grilly Maybe @GuilleEneas or @meksof could help in the meantime? |
Sorry @shairez, I am quite busy lately, I can't promise anything. I let you know if I can find some time to check it sooner |
Hi guys,
Sorry guys, these days a bit busy.
From here next August I will get some free time to work on this issue.
Have a great day.
Le sam. 29 mai 2021 à 20:28, Guille Eneas Timón Grau <
***@***.***> a écrit :
… Sorry @shairez <https://github.com/shairez>, I am quite busy lately, I
can't promise anything. I let you know if I can find some time to check it
sooner
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#50 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABLIX6XDFIZ24QXRZT4HVJDTQEW3LANCNFSM45DPQI3Q>
.
|
It seems that this also happens with other libraries: angular/angular-cli#20819 |
Should be fixed now let me know if the problem continues |
In my case I had the same error message as @gestj when running my tests.
|
@alexander-merz Thanks! I just re-tested it with a clean angular 12 install and I don't see this error. 2 options I can think of -
let me know how it goes |
@shairez It was indeed another library's dependency. Thank you! |
@alexander-merz sure thing buddy! |
After updating my project to Angular 12 I get this during startup of the tests (with
ng test
).npm ls err-object
gives me thisI didn't try out an entirely new project yet. But after removing
jasmine-auto-spies
from the project completely tests run again.I guess its because of the CLI updates due to Angular 12. They updated to webpack 5.
I gave it also a try with installing
util
manually but then very strange errors occurred so I quickly reverted that change.I didn't dive much deeper into the topic since removing
jasmine-auto-spies
fixes it.=> https://github.com/angular/angular-cli/releases/tag/v12.0.0
The text was updated successfully, but these errors were encountered: