-
Notifications
You must be signed in to change notification settings - Fork 27.2k
Closed
Labels
area: testingIssues related to Angular testing features, such as TestBedIssues related to Angular testing features, such as TestBedeffort2: daysfeatureLabel used to distinguish feature request from other issuesLabel used to distinguish feature request from other issuesstate: Needs Design
Milestone
Description
As it stands (alpha-36) one cannot write unit tests of the actual template when the template is supplied via templateUrl.
I can't even fake it if component A's template (even a template override) depends on component B which gets its template via templateUrl. I have been unsuccessful using overrideDirective to mock the dependent component B ... not that I should have to bother.
Could we use something like the Ng1 template-cache?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
area: testingIssues related to Angular testing features, such as TestBedIssues related to Angular testing features, such as TestBedeffort2: daysfeatureLabel used to distinguish feature request from other issuesLabel used to distinguish feature request from other issuesstate: Needs Design