-
Notifications
You must be signed in to change notification settings - Fork 24.8k
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
fix(ivy): implement 'TestBed.overrideTemplateUsingTestingModule' function #27717
fix(ivy): implement 'TestBed.overrideTemplateUsingTestingModule' function #27717
Conversation
You can preview 8a6afb1 at https://pr27717-8a6afb1.ngbuilds.io/. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Approved with two comments.
return meta; | ||
const hasTemplateOverride = !!type && this._templateOverrides.has(type); | ||
if (hasTemplateOverride) { | ||
overrides.template = this._templateOverrides.get(type !); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe clear out templateUrl
here too.
You can preview b2cf895 at https://pr27717-b2cf895.ngbuilds.io/. |
…tion Adding 'TestBed.overrideTemplateUsingTestingModule' function that overrides Component template and uses TestingModule as a scope.
b2cf895
to
b105ccc
Compare
You can preview b105ccc at https://pr27717-b105ccc.ngbuilds.io/. |
…tion (angular#27717) Adding 'TestBed.overrideTemplateUsingTestingModule' function that overrides Component template and uses TestingModule as a scope. PR Close angular#27717
…tion (angular#27717) Adding 'TestBed.overrideTemplateUsingTestingModule' function that overrides Component template and uses TestingModule as a scope. PR Close angular#27717
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
Adding 'TestBed.overrideTemplateUsingTestingModule' function that overrides Component template and uses TestingModule as a scope.
Update (12/25): rebased from the latest master.
This PR resolves FW-851.
PR Type
What kind of change does this PR introduce?
Does this PR introduce a breaking change?