Skip to content

Commit 53ea5a1

Browse files
author
Kamal Rawal
authored
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 a7d16a8 commit 53ea5a1

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
@@ -2262,8 +2262,7 @@ added: v22.3.0
22622262
* `fn` {Function} A function used to compute the location of the snapshot file.
22632263
The function receives the path of the test file as its only argument. If the
22642264
test is not associated with a file (for example in the REPL), the input is
2265-
undefined. `fn()` must return a string specifying the location of the snapshot
2266-
snapshot file.
2265+
undefined. `fn()` must return a string specifying the location of the snapshot file.
22672266

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

0 commit comments

Comments
 (0)