6.0.0 • Published 6 months ago

html-validate-jest-snapshot v6.0.0

Weekly downloads
1
License
MIT
Repository
gitlab
Last release
6 months ago

html-validate-jest-snapshot

Transform jest snapshots for use with html-validate.

Limitations:

  • Currently only supports external .snap files, i.e. no inline snapshots.
  • Cannot differantiate between HTML and other snapshots datatypes. Do no use if you use a snapshot serializer like ConvertAnsi as it will cause false positives.

Usage

npm install --save-dev html-validate-jest-snapshot

In .htmlvalidate.json:

{
  "transform": {
    "^.*\\.snap$": "html-validate-jest-snapshot"
  }
}
6.0.0

6 months ago

5.0.0

2 years ago

4.0.1

3 years ago

4.0.0

3 years ago

3.0.2

4 years ago

3.0.1

4 years ago

3.0.0

4 years ago

2.1.0

5 years ago

2.0.0

5 years ago

1.0.0

6 years ago