Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
AOT Unit Tests: Need overrideTemplate support in AOT mode #19815
In order to help developers switch to AOT during unit testing we need to make it easier to mock child components.
The way decided would be to have a TestBed.overrideTemplate(Component, newTemplate) function that would JIT compile a new template for an existing AOT-ed component.