angular/packages/core/test
Charles Lyding 7b2fda16b1 refactor(platform-browser): reduce runtime code size of shared style host (#57834)
The `SharedStylesHost` class has been refactored to both reduce the runtime
code size and also modernize some of the code structures. The class is also
adjusted to better support reuse via subclassing or other reuses in the future.
Additional comments have been added to improve readability as well.
The code reduction in a prerelease newly generated Angular CLI application
for production is ~410 bytes.

Before:
```
Initial chunk files   | Names         |  Raw size | Estimated transfer size
main-GOQKBZBZ.js      | main          | 208.67 kB |                56.41 kB
polyfills-FFHMD2TL.js | polyfills     |  34.52 kB |                11.28 kB
styles-5INURTSO.css   | styles        |   0 bytes |                 0 bytes

                      | Initial total | 243.19 kB |                67.69 kB
```

After:
```
Initial chunk files   | Names         |  Raw size | Estimated transfer size
main-CRTDDKPH.js      | main          | 208.26 kB |                56.32 kB
polyfills-FFHMD2TL.js | polyfills     |  34.52 kB |                11.28 kB
styles-5INURTSO.css   | styles        |   0 bytes |                 0 bytes

                      | Initial total | 242.78 kB |                67.61 kB
```

PR Close #57834
2024-09-23 14:22:58 +02:00
..
acceptance feat(core): migrate ExperimentalPendingTasks to PendingTasks (#57533) 2024-09-20 18:26:48 +02:00
animation refactor: migrate core to prettier formatting (#55488) 2024-04-29 09:49:19 -07:00
authoring refactor(core): add support for new effect scheduling. (#56501) 2024-09-18 14:52:25 -07:00
bundling refactor(platform-browser): reduce runtime code size of shared style host (#57834) 2024-09-23 14:22:58 +02:00
change_detection refactor: migrate core to prettier formatting (#55488) 2024-04-29 09:49:19 -07:00
compiler refactor: migrate core to prettier formatting (#55488) 2024-04-29 09:49:19 -07:00
debug refactor: migrate core to prettier formatting (#55488) 2024-04-29 09:49:19 -07:00
di refactor: migrate core to prettier formatting (#55488) 2024-04-29 09:49:19 -07:00
dom refactor(core): replace usages of removeChild (#57203) 2024-08-07 16:46:09 +00:00
event_dispatch fix(core): Do not bubble capture events. (#57476) 2024-08-23 14:46:54 -07:00
hydration refactor: migrate core to prettier formatting (#55488) 2024-04-29 09:49:19 -07:00
i18n refactor: migrate core to prettier formatting (#55488) 2024-04-29 09:49:19 -07:00
linker test: avoid leaking some LViews in tests (#57546) 2024-08-27 13:29:08 -07:00
metadata refactor: migrate core to prettier formatting (#55488) 2024-04-29 09:49:19 -07:00
playground/zone-signal-input refactor: migrate core to prettier formatting (#55488) 2024-04-29 09:49:19 -07:00
reflection refactor(core): remove unused logic from reflection capabilities (#45335) 2022-03-24 11:02:39 -07:00
render3 refactor(core): add support for new effect scheduling. (#56501) 2024-09-18 14:52:25 -07:00
sanitization refactor: migrate core to prettier formatting (#55488) 2024-04-29 09:49:19 -07:00
signals refactor: migrate core to prettier formatting (#55488) 2024-04-29 09:49:19 -07:00
strict_types refactor(core): rename ...WithMeta types to ...Declaration and alias to unknown (#41119) 2021-03-22 08:57:18 -07:00
testability refactor: migrate core to prettier formatting (#55488) 2024-04-29 09:49:19 -07:00
util refactor: migrate core to prettier formatting (#55488) 2024-04-29 09:49:19 -07:00
zone fix(core): Allow zoneless scheduler to run inside fakeAsync (#56932) 2024-08-15 12:32:24 -04:00
application_config_spec.ts refactor: migrate core to prettier formatting (#55488) 2024-04-29 09:49:19 -07:00
application_init_spec.ts fix(core): link errors to ADEV (#55554) (#56038) 2024-05-28 12:50:53 +02:00
application_module_spec.ts refactor: migrate core to prettier formatting (#55488) 2024-04-29 09:49:19 -07:00
application_ref_integration_spec.ts refactor: migrate core to prettier formatting (#55488) 2024-04-29 09:49:19 -07:00
application_ref_spec.ts fix(core): link errors to ADEV (#55554) (#56038) 2024-05-28 12:50:53 +02:00
BUILD.bazel test(core): Add scheduler in tests to tie into ApplicationRef.isStable (#53579) 2024-01-09 16:05:31 -08:00
change_detection_scheduler_spec.ts fix(core): Allow zoneless scheduler to run inside fakeAsync (#56932) 2024-08-15 12:32:24 -04:00
component_fixture_spec.ts fix(core): Fix fixture.detectChanges with autoDetect disabled and zoneless (#57416) 2024-08-27 13:12:44 -07:00
defer_fixture_spec.ts refactor: migrate core to prettier formatting (#55488) 2024-04-29 09:49:19 -07:00
dev_mode_spec.ts test(core): clean up unnecessary nesting in old tests (#52239) 2023-10-19 09:26:15 -07:00
directive_lifecycle_integration_spec.ts refactor: migrate core to prettier formatting (#55488) 2024-04-29 09:49:19 -07:00
error_handler_spec.ts refactor: migrate core to prettier formatting (#55488) 2024-04-29 09:49:19 -07:00
event_emitter_spec.ts feat(core): migrate ExperimentalPendingTasks to PendingTasks (#57533) 2024-09-20 18:26:48 +02:00
fake_async_spec.ts fix(zone.js): Update the default behavior of fakeAsync to flush after the test (#57240) 2024-08-05 20:24:54 +00:00
forward_ref_integration_spec.ts refactor: migrate core to prettier formatting (#55488) 2024-04-29 09:49:19 -07:00
runtime_error_spec.ts refactor(docs-infra): complete removal of aio directory (#56496) 2024-06-18 12:26:00 -07:00
test_bed_effect_spec.ts refactor(core): add support for new effect scheduling. (#56501) 2024-09-18 14:52:25 -07:00
test_bed_spec.ts refactor(core): handle incomplete DOCUMENT instances during cleanup in tests (#56422) 2024-06-17 09:05:52 -07:00
transfer_state_spec.ts refactor(core): replace usages of removeChild (#57203) 2024-08-07 16:46:09 +00:00
util_spec.ts refactor: migrate core to prettier formatting (#55488) 2024-04-29 09:49:19 -07:00