angular-cn/packages/platform-browser/test
cexbrayat 41cd8f3efb refactor(core): use Partial<T> for MetadataOverride (#24103)
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
2018-05-29 18:40:05 -04:00
..
animation test(animations): fix Node.js detection in animation tests (#24139) 2018-05-29 18:21:20 -04:00
browser fix(platform-browser): support 0/false/null values in transfer_state (#22179) 2018-02-13 11:28:22 -08:00
dom feat(platform-browser): allow lazy-loading HammerJS (#23906) 2018-05-15 15:33:00 -07:00
security refactor(core): move sanitization into core (#22540) 2018-03-07 18:24:06 -08:00
static_assets refactor: move angular source to /packages rather than modules/@angular 2017-03-08 16:29:27 -08:00
BUILD.bazel test: switch to ts_web_test_suite (#23859) 2018-05-15 11:40:56 -07:00
browser_util_spec.ts build: remove `main()` from specs (#21053) 2017-12-22 13:10:51 -08:00
testing_public_spec.ts refactor(core): use Partial<T> for MetadataOverride (#24103) 2018-05-29 18:40:05 -04:00