From a303c00d02c55717a953c349933da3356dcb57b8 Mon Sep 17 00:00:00 2001 From: Gareth Jones Date: Fri, 31 Jul 2020 13:11:08 +1200 Subject: [PATCH] chore(no-standalone-expect): mark option as optional (#636) --- src/rules/no-standalone-expect.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rules/no-standalone-expect.ts b/src/rules/no-standalone-expect.ts index bfe273465..4daa3c847 100644 --- a/src/rules/no-standalone-expect.ts +++ b/src/rules/no-standalone-expect.ts @@ -58,7 +58,7 @@ const isEach = (node: TSESTree.CallExpression): boolean => type BlockType = 'test' | 'function' | 'describe' | 'arrow' | 'template'; export default createRule< - [{ additionalTestBlockFunctions: string[] }], + [{ additionalTestBlockFunctions?: string[] }], 'unexpectedExpect' >({ name: __filename,