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
|
||
|---|---|---|
| .. | ||
| animation | ||
| browser | ||
| dom | ||
| security | ||
| static_assets | ||
| browser_util_spec.ts | ||
| BUILD.bazel | ||
| testing_public_spec.ts | ||