diff --git a/doc/api/test.md b/doc/api/test.md index 7da51afff4b7f9..591e40abc9d4ce 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])`