angular/packages/compiler/test/shadow_css
dario-piotrowicz 61023b563d refactor(compiler): refactor the shadow css specs (#48443)
apply different quality of life improvements to the shadow
css unit tests:

- refactor the tests so that they are nicely divided in multiple files
   in a logical manner instead of having most of them all in a single big file

- remove the css normalization logic inconsistently used throughout  the tests, which
  causes tests to be inconsistent and it also introduced unintuitive checks

- provide a shared shim utility function (instead of re-defining it
  multiple times)

- add a `toEqualCss` matcher that can be used in the tests in order to
  match css strings without caring about spacing and indentation

PR Close #48443
2023-01-11 14:55:52 -08:00
..
at_rules_spec.ts refactor(compiler): refactor the shadow css specs (#48443) 2023-01-11 14:55:52 -08:00
host_and_host_context_spec.ts refactor(compiler): refactor the shadow css specs (#48443) 2023-01-11 14:55:52 -08:00
keyframes_spec.ts refactor(compiler): refactor the shadow css specs (#48443) 2023-01-11 14:55:52 -08:00
ng_deep_spec.ts refactor(compiler): refactor the shadow css specs (#48443) 2023-01-11 14:55:52 -08:00
polyfills_spec.ts refactor(compiler): refactor the shadow css specs (#48443) 2023-01-11 14:55:52 -08:00
process_rules_spec.ts refactor(compiler): refactor the shadow css specs (#48443) 2023-01-11 14:55:52 -08:00
repeat_groups_spec.ts refactor(compiler): refactor the shadow css specs (#48443) 2023-01-11 14:55:52 -08:00
shadow_css_spec.ts refactor(compiler): refactor the shadow css specs (#48443) 2023-01-11 14:55:52 -08:00
utils.ts refactor(compiler): refactor the shadow css specs (#48443) 2023-01-11 14:55:52 -08:00