Skip to content

Commit a66aca8

Browse files
Rawal27aduh95
authored andcommitted
doc: fix duplicated word in test snapshot docs
Signed-off-by: Rawal27 <obviouslykamal@gmail.com> PR-URL: #64837 Reviewed-By: Mike McCready <66998419+MikeMcC399@users.noreply.github.com> Reviewed-By: Chemi Atlow <chemi@atlow.co.il> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Aviv Keller <me@aviv.sh> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
1 parent 99f0872 commit a66aca8

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

doc/api/test.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2260,8 +2260,7 @@ added: v22.3.0
22602260
* `fn` {Function} A function used to compute the location of the snapshot file.
22612261
The function receives the path of the test file as its only argument. If the
22622262
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.
22652264

22662265
This function is used to customize the location of the snapshot file used for
22672266
snapshot testing. By default, the snapshot filename is the same as the entry

0 commit comments

Comments
 (0)