-
-
Notifications
You must be signed in to change notification settings - Fork 286
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Which scope/s are relevant/related to the feature request?
vitest-angular
Information
When using snapshot testing with Angular templates, the snapshots themselves would be cluttered with <!--container-->
comments (originating from @if()
statements and other control flow blocks). For example:
As a result, when refactoring templates, the snapshot tests will fail when shuffling around if statements, even when the actual result does not differ.
Would there be support for a PR ignoring comments from snapshots? If so:
- Should this behavior be an option?
- Should all or only comments originating from NG control flow blocks be ignored?
Describe any alternatives/workarounds you're currently using
N/A
I would be willing to submit a PR to fix this issue
- Yes
- No
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request