From 920a21538f7473ba3aa2668c77fd773f6de9a1ca Mon Sep 17 00:00:00 2001 From: Brett Zamir Date: Mon, 17 Feb 2020 23:17:49 +0800 Subject: [PATCH] - Fix doc highlighting issue (no-synchronous tests needed to close a parenthesis) --- docs/rules/no-synchronous-tests.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/rules/no-synchronous-tests.md b/docs/rules/no-synchronous-tests.md index 1144680..3bbb56a 100644 --- a/docs/rules/no-synchronous-tests.md +++ b/docs/rules/no-synchronous-tests.md @@ -37,7 +37,7 @@ it('should do foo', async function () { it('should do foo', function () { return promise; -} +}); ``` You can change the acceptable asynchronous test methods to only allow a combination of async functions/callbacks/promises: