Skip to content

Commit 0e8d991

Browse files
committed
Add npm badge
1 parent eab0384 commit 0e8d991

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
# snapshot-diff
2+
[![npm version](https://badge.fury.io/js/snapshot-diff.svg)](https://badge.fury.io/js/snapshot-diff)
3+
24
Diffing snapshot utility for Jest. Takes two values, and return their difference as a string, ready to be snapshoted with `toMatchSnapshot()`.
35
Especially helpful when testing the difference between different states of a React component.
46

0 commit comments

Comments
 (0)