From d4287dff1332d9300405bae6b1e761a9b5ccabcc Mon Sep 17 00:00:00 2001 From: Gareth Jones Date: Sat, 28 May 2022 15:17:40 +1200 Subject: [PATCH] fix: remove `failing` support (for now) --- src/rules/utils/parseJestFnCall.ts | 8 -------- 1 file changed, 8 deletions(-) diff --git a/src/rules/utils/parseJestFnCall.ts b/src/rules/utils/parseJestFnCall.ts index 3995cf4fd..3f082e7b0 100644 --- a/src/rules/utils/parseJestFnCall.ts +++ b/src/rules/utils/parseJestFnCall.ts @@ -106,34 +106,26 @@ const ValidJestFnCallChains = [ 'it.failing', 'it.only', 'it.only.each', - 'it.only.failing', 'it.skip', 'it.skip.each', - 'it.skip.failing', 'it.todo', 'fit', 'fit.each', - 'fit.failing', 'xit', 'xit.each', - 'xit.failing', 'test', 'test.concurrent', 'test.concurrent.each', 'test.concurrent.only.each', 'test.concurrent.skip.each', 'test.each', - 'test.failing', 'test.only', 'test.only.each', - 'test.only.failing', 'test.skip', 'test.skip.each', - 'test.skip.failing', 'test.todo', 'xtest', 'xtest.each', - 'xtest.failing', // todo: check if actually valid (not in docs) 'test.concurrent.skip',