From 07a9efb9ab1a5ad80bf2ee9505db4ed04ab48fc3 Mon Sep 17 00:00:00 2001 From: Rawal27 Date: Thu, 30 Jul 2026 13:09:30 +0530 Subject: [PATCH] doc: fix duplicated word in test snapshot docs Signed-off-by: Rawal27 --- doc/api/test.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/doc/api/test.md b/doc/api/test.md index cfbb350e15842a..c99460f4f25e6e 100644 --- a/doc/api/test.md +++ b/doc/api/test.md @@ -2255,8 +2255,7 @@ added: v22.3.0 * `fn` {Function} A function used to compute the location of the snapshot file. The function receives the path of the test file as its only argument. If the test is not associated with a file (for example in the REPL), the input is - undefined. `fn()` must return a string specifying the location of the snapshot - snapshot file. + undefined. `fn()` must return a string specifying the location of the snapshot file. This function is used to customize the location of the snapshot file used for snapshot testing. By default, the snapshot filename is the same as the entry