| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 7aab0c3 commit dc30379
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -2250,8 +2250,7 @@ added: v22.3.0 | |||
| 2250 | 2250 | * `fn` {Function} A function used to compute the location of the snapshot file. | |
| 2251 | 2251 | The function receives the path of the test file as its only argument. If the | |
| 2252 | 2252 | test is not associated with a file (for example in the REPL), the input is | |
| 2253 | - undefined. `fn()` must return a string specifying the location of the snapshot | ||
| 2254 | - snapshot file. | ||
| 2253 | + undefined. `fn()` must return a string specifying the location of the snapshot file. | ||
| 2255 | 2254 | ||
| 2256 | 2255 | This function is used to customize the location of the snapshot file used for | |
| 2257 | 2256 | snapshot testing. By default, the snapshot filename is the same as the entry | |
| Back | FazBrowse Home | New Git URL |
0 commit comments