Commit f66b74d
Updates SnapshotTesting.md to provide more info. on snapshot scope (#6735)
* Updates SnapshotTesting.md to provide more info. on snapshot scope
The doc doesn't mention where to look for the bugs in the code. I have added extra info. which will clear things to find the bugs and why does test pass when you doesn't add any props in the component used in different files.
As a beginner I thought, test will fail if I change Link component props in the any file that usage test component (in this case Link component).
* Lints file
* Calls out code1 parent 56411e0 commit f66b74d
1 file changed
Lines changed: 4 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
42 | | - | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
43 | 46 | | |
44 | 47 | | |
45 | 48 | | |
| |||
0 commit comments