angular-cn/packages/core/testing/src
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
..
async.ts docs: remove all deprecated `@stable` jsdoc tags (#23210) 2018-04-10 21:49:32 -07:00
async_fallback.ts docs: remove all deprecated `@stable` jsdoc tags (#23210) 2018-04-10 21:49:32 -07:00
async_test_completer.ts refactor: move angular source to /packages rather than modules/@angular 2017-03-08 16:29:27 -08:00
before_each.ts docs: in doc comments, replace [aA]ngular2 with Angular (#15463) 2017-03-27 09:44:35 -07:00
component_fixture.ts docs: remove all deprecated `@stable` jsdoc tags (#23210) 2018-04-10 21:49:32 -07:00
fake_async.ts build: upgrade zone.js (#23108) 2018-04-04 08:24:02 -07:00
fake_async_fallback.ts build: upgrade zone.js (#23108) 2018-04-04 08:24:02 -07:00
lang_utils.ts refactor: move angular source to /packages rather than modules/@angular 2017-03-08 16:29:27 -08:00
logger.ts refactor: move angular source to /packages rather than modules/@angular 2017-03-08 16:29:27 -08:00
metadata_override.ts refactor(core): use Partial<T> for MetadataOverride (#24103) 2018-05-29 18:40:05 -04:00
ng_zone_mock.ts perf(core): refactor NgZone, decrease size by 1.2Kb (#17773) 2017-07-01 10:29:56 -07:00
private_export_testing.ts refactor: move angular source to /packages rather than modules/@angular 2017-03-08 16:29:27 -08:00
render3.ts test(ivy): create todo app in ivy (#22921) 2018-04-02 15:49:48 -07:00
test_bed.ts docs: remove all deprecated `@stable` jsdoc tags (#23210) 2018-04-10 21:49:32 -07:00
test_compiler.ts refactor(bazel): convert most ts_library to ng_module (#22176) 2018-02-15 14:08:53 -08:00
testing.ts test(ivy): Add small_app spec for sprint #3 (#22018) 2018-02-18 13:18:54 -08:00
testing_internal.ts fix(core): Update types for TypeScript nullability support (#15472) 2017-03-29 09:34:45 -07:00