Skip to content

Commit 47dbf82

Browse files
merging all conflicts
2 parents a37db3d + 8994112 commit 47dbf82

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

content/docs/reference-test-renderer.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,11 @@ console.log(testRenderer.toJSON());
3838
// children: [ 'Facebook' ] }
3939
```
4040

41+
<<<<<<< HEAD
4142
Jest может автоматически сохранять в файл снимок копии дерева в виде JSON, а затем проверять в тестах, что в этом снимке ничего не изменилось с момента прошлого исполнения теста: [узнать подробнее](https://jestjs.io/docs/ru/snapshot-testing).
43+
=======
44+
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).
45+
>>>>>>> 899411236d5b1520ab8b8e7fad7d48c681abc69b
4246
4347
Также есть возможность искать в дереве конкретные узлы и проверять утверждения относительно них:
4448

0 commit comments

Comments
 (0)