angular/packages/compiler/test/render3
Kristiyan Kostadinov 98d98f2c94 refactor(compiler): incorrect validation of switch blocks when preserveWhitespaces is enabled (#51570)
When `preserveWhitespaces` is enabled, `switch` blocks can end up with content inside their main block due to the indentation that is usually used for the nested cases. This was tripping up the validation that doesn't allow content inside the main block of `switch`.

These changes update the validation to ignore empty text nodes.

PR Close #51570
2023-09-05 14:18:44 +00:00
..
util refactor(compiler): implement conditional block AST (#51299) 2023-08-10 13:48:55 -07:00
view refactor(compiler): correctly identify lazy directives and pipes used after a nested defer block (#51262) 2023-08-04 11:27:39 -04:00
BUILD.bazel build: ensure bootstrap transitive runfiles are made available (#48521) 2022-12-19 19:50:41 +00:00
r3_ast_absolute_span_spec.ts fix(compiler): compute correct offsets when interpolations have HTML entities (#44811) 2022-03-08 10:23:07 -08:00
r3_ast_spans_spec.ts refactor(compiler): don't allow as expressions in else if blocks (#51398) 2023-08-22 10:40:17 -07:00
r3_template_transform_spec.ts refactor(compiler): incorrect validation of switch blocks when preserveWhitespaces is enabled (#51570) 2023-09-05 14:18:44 +00:00
README.md feat(compiler): implement "enableIvy" compiler option (#21427) 2018-01-18 18:22:44 -06:00
style_parser_spec.ts fix(compiler): do not unquote CSS values (#49460) 2023-03-28 11:35:38 -07:00

Tests in this directory are excluded from running in the browser and only run in node.