0.0.7 • Published 9 months ago

disable-snapshot-testing v0.0.7

Weekly downloads
9
License
-
Repository
-
Last release
9 months ago

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.

npm.io