mirror of
https://github.com/angular/angular
synced 2026-05-24 09:28:37 +00:00
Allows to write:
const fixture = TestBed
.overridePipe(DisplayNamePipe, { set: { pure: false } })
.createComponent(MenuComponent);
when you only want to set the `pure` metadata,
instead of currently:
const fixture = TestBed
.overridePipe(DisplayNamePipe, { set: { name: 'displayName', pure: false } })
.createComponent(MenuComponent);
which forces you to redefine the name of the pipe even if it is useless.
Fixes #24102
PR Close #24103
|
||
|---|---|---|
| .. | ||
| animations | ||
| common | ||
| compiler | ||
| core | ||
| elements | ||
| forms | ||
| http | ||
| platform-browser | ||
| platform-browser-dynamic | ||
| platform-server | ||
| platform-webworker | ||
| platform-webworker-dynamic | ||
| router | ||
| service-worker | ||
| upgrade | ||
| BUILD.bazel | ||