Skip to content

Commit dc30379

Browse files
Kamal Rawaladuh95
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 7aab0c3 commit dc30379

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
@@ -2250,8 +2250,7 @@ added: v22.3.0
22502250
* `fn` {Function} A function used to compute the location of the snapshot file.
22512251
The function receives the path of the test file as its only argument. If the
22522252
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.
22552254

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

0 commit comments

Comments
 (0)