angular/packages/common/test
Pawel Kozlowski 28a5925f53 fix(common): use === operator to match NgSwitch cases (#51504)
This change adjust the equality comparator used by NgSwitch - now it
defaults to === from previously used ==. This change is based on the
following reasoning:
- align behaviour with the built-in switch block);
- improve performance (avoid type coercion);
- enable better type-checking.

BREAKING CHANGE:

the NgSwitch directive now defaults to the === equality operator,
migrating from the previously used ==. NgSwitch expressions and / or
individual condition values need adjusting to this stricter equality
check. The added warning message should help pinpointing NgSwitch
usages where adjustements are needed.

Fixes #33873

PR Close #51504
2023-10-09 10:10:21 -07:00
..
directives fix(common): use === operator to match NgSwitch cases (#51504) 2023-10-09 10:10:21 -07:00
i18n build(common): update CLDR to version 41 (#45714) 2022-04-29 12:20:08 -04:00
image_loaders fix(common): invalid ImageKit transformation (#49201) 2023-03-27 08:33:22 -07:00
location fix(common): make Location.normalize() return the correct path when the base path contains characters that interfere with regex syntax. (#49181) 2023-02-27 10:02:33 -08:00
pipes fix(common): untrack subscription and unsubscription in async pipe (#50522) 2023-05-31 12:38:30 -07:00
BUILD.bazel refactor: update packages/common tests to work with ESM pipeline (#48521) 2022-12-19 19:50:42 +00:00
cookie_spec.ts test: clean up internal testing utilities (#42177) 2021-05-26 20:07:25 +00:00
viewport_scroller_spec.ts refactor: remove unnecessary test support check utilities (#47543) 2023-01-24 21:06:09 +00:00