eslint-plugin-snapshots
Avoid testing functionality using toMatchSnapshot()
.
If you are using @testing/library
there is a handy package called jest-dom where there are nifty jest matchers, for example toHaveStyle()
Avoid testing functionality using toMatchSnapshot()
.
If you are using @testing/library
there is a handy package called jest-dom where there are nifty jest matchers, for example toHaveStyle()
npm i eslint-plugin-no-snapshots
1
1.3.1
ISC
2.5 kB
5