angular/packages/compiler/test/render3
P4 6755f5354c fix(compiler): return full spans for Comment nodes (#50855)
Change sourceSpan for Comment nodes to cover the whole comment
instead of just the opening token.

The primary motivation for this is the interaction between ESLint and
`@angular-eslint`. ESLint can detect unused `eslint-disable` directives
in comments and automatically remove them when running with `--fix`.
This is based on ranges computed from AST spans, and as a result
does not work inside Angular templates - right now all comments
claim to be 4 characters long so only the opening `<!--` is removed.

PR Close #50855
2023-07-28 14:39:18 -07:00
..
util refactor(compiler): introduce deferred block AST (#51050) 2023-07-17 21:05:47 +00:00
view fix(compiler): return full spans for Comment nodes (#50855) 2023-07-28 14:39:18 -07: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): add compiler flag to enable deferred blocks for testing (#51079) 2023-07-18 17:05:29 +00:00
r3_template_transform_spec.ts refactor(compiler): add compiler flag to enable deferred blocks for testing (#51079) 2023-07-18 17:05:29 +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.