From 780144c339024554090b856eca57b825ef7b835d Mon Sep 17 00:00:00 2001 From: Colin Ihrig Date: Mon, 3 Oct 2022 21:56:25 -0400 Subject: [PATCH] doc: remove unnecessary leading commas MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit There are several locations in the test_runner API docs where the optional first argument to a function was written with a leading comma. Since these are first arguments, the commas can be removed. PR-URL: https://github.com/nodejs/node/pull/44854 Reviewed-By: Rich Trott Reviewed-By: Mohammed Keyvanzadeh Reviewed-By: Tobias Nießen Reviewed-By: Daeyeon Jeong Reviewed-By: Luigi Pinca Reviewed-By: Moshe Atlow Reviewed-By: Darshan Sen Reviewed-By: James M Snell --- doc/api/test.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/doc/api/test.md b/doc/api/test.md index f82b0394a463fa..6085f3bd394938 100644 --- a/doc/api/test.md +++ b/doc/api/test.md @@ -480,7 +480,7 @@ same as [`it([name], { skip: true }[, fn])`][it options]. Shorthand for marking a test as `TODO`, same as [`it([name], { todo: true }[, fn])`][it options]. -## `before([, fn][, options])` +## `before([fn][, options])`