Skip to content

Commit 8994112

Browse files
iqbal125alexkrolick
iqbal125
authored andcommitted
old link to outdated version of jest (#2088)
This link is pointing to a much older version of Jest. I have added a link to the current page for snapshot testing for the current version of jest.
1 parent 4b24c76 commit 8994112

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

content/docs/reference-test-renderer.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ console.log(testRenderer.toJSON());
3838
// children: [ 'Facebook' ] }
3939
```
4040

41-
You can use Jest's snapshot testing feature to automatically save a copy of the JSON tree to a file and check in your tests that it hasn't changed: [Learn more about it](https://facebook.github.io/jest/blog/2016/07/27/jest-14.html).
41+
You can use Jest's snapshot testing feature to automatically save a copy of the JSON tree to a file and check in your tests that it hasn't changed: [Learn more about it](https://jestjs.io/docs/en/snapshot-testing).
4242

4343
You can also traverse the output to find specific nodes and make assertions about them.
4444

0 commit comments

Comments
 (0)