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