Skip to content

Strip ng-reflect-* and ng-version in snapshots #1475

Open
@k3nsei

Description

@k3nsei

Which scope/s are relevant/related to the feature request?

vitest-angular

Information

When switched to Istanbul from V8 as coverage provider our tests stopped passing.
Vitest started generating different snapshots when one of component gets function as its input.

Describe any alternatives/workarounds you're currently using

Don't try serialize functions when creating snapshots

I would be willing to submit a PR to fix this issue

  • Yes
  • No

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions