From 9e8f677be5b81b0ee86b91f617b511e858567a21 Mon Sep 17 00:00:00 2001 From: Shane Alexander <35224905+ShaneButt@users.noreply.github.com> Date: Wed, 23 Jun 2021 11:02:33 +0100 Subject: [PATCH] Update api-reference.md (#162) describeFOCUS and describeSKIP were incorrectly documented and stated to only have one parameter, this has been fixed to correctly reflect the source code. --- docs/api-reference.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/api-reference.md b/docs/api-reference.md index 98eff73..dfcaaa0 100644 --- a/docs/api-reference.md +++ b/docs/api-reference.md @@ -264,8 +264,8 @@ This function works similarly to `FOCUS()`, except instead of marking a block as ### describeFOCUS and describeSKIP ``` -describeFOCUS(phrase: string) -describeSKIP(phrase: string) +describeFOCUS(phrase: string, callback(context: table)) +describeSKIP(phrase: string, callback(context: table)) ``` These methods are special versions of `describe` that automatically mark the `describe` block as *focused* or *skipped*.