Usage with Vitest
html-validate comes with experimental Vitest support built-in.
For now the API is the same as Jest but this might change in future versions.
Don't hesitate to report new issues if you find something that isn't working as expected.
In you test or setup-file import
This makes all the custom matchers available.
jest API for a list of matchers.
All matchers except
toMatchInlineCodeframe are available.
- 8.5.0 - Vitest experimental support added.