You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Apparently, Angular added a feature called aotSummaries to TestBed.initTestEnvironment() at some point (https://angular.io/api/core/testing/TestBed#initTestEnvironment). But the docs are pretty sparse. Could the seed be updated to support these? Apparently, it makes unit tests run much faster because the HTML templates aren't constantly recompiled for every spec method.
The text was updated successfully, but these errors were encountered:
I took a look and I'm not really sure what he's doing with his shell script. But I thought maybe this could provide some useful info if you think this is worth adopting. I know from experience that running tests where the templates are not recompiled for every spec method will reduce the time it takes to run tests by 50-75%. For me, the difference for 600+ tests was over 5 minutes faster per run.
Hey @brian428 this issue is not priority for my use case of Angular Seed. If you have time would love to review and merge PR which introduces the feature.
I may try to take a stab at it, but much of the low-level AoT stuff is baffling to me. It doesn't help that the docs don't really say anything about how this works. But if I can figure it out, I'll certainly send a PR.
[X] feature request
Apparently, Angular added a feature called
aotSummaries
toTestBed.initTestEnvironment()
at some point (https://angular.io/api/core/testing/TestBed#initTestEnvironment). But the docs are pretty sparse. Could the seed be updated to support these? Apparently, it makes unit tests run much faster because the HTML templates aren't constantly recompiled for every spec method.The text was updated successfully, but these errors were encountered: