angular-docs-cn/packages/core/test
Andrew Kushnir cf10b336e7 fix(ivy): ComponentFactory.create should clear host element content (#33487)
Prior to this change, ComponentFactory.create function invocation in Ivy retained the content of the host element (in case host element reference or CSS seelctor is provided as an argument). This behavior is different in View Engine, where the content of the host element was cleared, except for the case when ShadowDom encapsulation is used (to make sure native slot projection works). This commit aligns Ivy and View Engine and makes sure the host element is cleared before component content insertion.

PR Close #33487
2019-11-12 21:34:06 -08:00
..
acceptance fix(ivy): ComponentFactory.create should clear host element content (#33487) 2019-11-12 21:34:06 -08:00
animation test: clean up explicit dynamic query usages (#33015) 2019-10-17 16:10:10 -04:00
bundling fix(ivy): Run ChangeDetection on transplanted views (#33644) 2019-11-12 13:53:54 -08:00
change_detection refactor: fix typescript strict flag failures in all tests (#30993) 2019-07-18 14:21:26 -07:00
debug fix: resolve event listeners not correct when registered outside of ngZone (#33711) 2019-11-11 14:00:31 -08:00
di refactor(core): rename ngInjectableDef to ɵprov (#33151) 2019-10-16 16:36:19 -04:00
dom refactor(core): move Meta methods that only have one version from DomAdapter (#32408) 2019-09-03 11:59:39 -07:00
i18n feat(common): support loading locales from a global (#33523) 2019-11-05 17:27:00 +00:00
linker revert: fix(ivy): R3TestBed should clean up registered modules after each test (#32872) (#33663) 2019-11-12 09:53:16 -08:00
metadata test: clean up explicit dynamic query usages (#33015) 2019-10-17 16:10:10 -04:00
reflection fix(core): handle `undefined` meta in `injectArgs` (#31333) 2019-07-01 10:11:08 -07:00
render3 fix(ivy): ComponentFactory.create should clear host element content (#33487) 2019-11-12 21:34:06 -08:00
sanitization test: rename mispelled `sanitization_spec.ts` file (#33712) 2019-11-11 14:01:04 -08:00
strict_types refactor(core): rename ngPipeDef to ɵpipe (#33142) 2019-10-14 23:08:10 +00:00
testability build: update zone.js to 0.9.0 (#28219) 2019-03-26 12:50:38 -07:00
util refactor(ivy): remove duplicated flatten util (#29547) 2019-03-27 12:36:23 -07:00
view fix: resolve event listeners not correct when registered outside of ngZone (#33711) 2019-11-11 14:00:31 -08:00
zone fix(core): ngNoopZone should have the same signature with ngZone (#32068) 2019-10-04 11:48:12 -07:00
BUILD.bazel build: reference zone.js from source directly instead of npm. (#33046) 2019-11-06 00:48:34 +00:00
application_init_spec.ts
application_module_spec.ts feat(ivy): allow the locale to be set via a global property (#33314) 2019-10-24 10:16:25 -07:00
application_ref_integration_spec.ts fix(ivy): ensure that `window.ng` utilities are published when NgModules are used (#32725) 2019-09-17 13:32:06 -07:00
application_ref_spec.ts feat: typescript 3.6 support (#32946) 2019-10-18 13:15:16 -04:00
component_fixture_spec.ts
dev_mode_spec.ts
directive_lifecycle_integration_spec.ts
error_handler_spec.ts
event_emitter_spec.ts
fake_async_spec.ts feat: add a flag in bootstrap to enable coalesce event change detection to improve performance (#30533) 2019-11-05 18:58:25 +00:00
forward_ref_integration_spec.ts refactor(core): Migrate TestBed.get to TestBed.inject (#32382) 2019-09-09 19:10:54 -04:00
spies.ts refactor: Move `dom_adapter.ts` to `@angular/common` (#32154) 2019-08-29 21:51:56 -07:00
test_bed_async_spec.ts
test_bed_spec.ts revert: fix(ivy): R3TestBed should clean up registered modules after each test (#32872) (#33663) 2019-11-12 09:53:16 -08:00
testing_internal_spec.ts build: update to rules_typescript 0.25.1 (#28625) 2019-02-21 07:46:21 -08:00
util_spec.ts