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
{{ message }}
Repository navigation
AOT Unit Tests: Cache NgSummaries loaded in a test #19817
We want to make the NgSummary used in a test configurable at a spec level. This would mean that we would end up processing the transitive NgSummary tree per test - which would be too slow.
We should cache all known NgSummary functions with the child tree as the cached value - So that we don't have to walk this tree for every test.
Cache in the CompilerFactory and add an argument ngSummaries to configureTestingModule. This way, the cache is not top level, but only lives between calls to initTestEnvironment and resetTestEnvironment (which should be called only 1x).
Activity
tbosch commentedon Oct 27, 2017
Cache in the
CompilerFactoryand add an argumentngSummariestoconfigureTestingModule. This way, the cache is not top level, but only lives between calls toinitTestEnvironmentandresetTestEnvironment(which should be called only 1x).feat(testing): allow to pass in aot summaries also to `TestBed.config…
tbosch commentedon Nov 1, 2017
See my PR #19996 which @vicb is taking over.
angular-automatic-lock-bot commentedon Sep 12, 2019
This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.
Read more about our automatic conversation locking policy.
This action has been performed automatically by a bot.