From 417458da9b3ef0a68373d84c361bd05ec140d779 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 25200f0285a2db..b05acd404a401f 100644 --- a/doc/api/test.md +++ b/doc/api/test.md @@ -484,7 +484,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])`