disable-snapshot-testing

0.0.7 • Public • Published

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.

Package Sidebar

Install

npm i disable-snapshot-testing

Weekly Downloads

203

Version

0.0.7

License

none

Unpacked Size

7.14 kB

Total Files

9

Last publish

Collaborators

  • dv_yogesh