disable-snapshot-testing
v0.0.7
Published
Example Button Component
Downloads
1,999
Maintainers
Readme
Installation
Run npm i disable-snapshot-testing --save-dev
or
Run yarn add disable-snapshot-testing
Usage
Add disable-snapshot-testing
to your .eslintrc
file.
{
"plugins": "no-snapshot-testing"
}
and
{
"rules": {"disable-snapshot-testing/disable-snapshot-testing": "error"}
}
from now on all toMatchSnapshot
and toMatchInlineSnapshot
calls will be disallowed and removed with fix run.