From 2ce0b5ab2855cf86ed86c3c25b102d1b154ff51f Mon Sep 17 00:00:00 2001 From: jimmy-guzman Date: Wed, 10 Apr 2024 20:01:19 -0500 Subject: [PATCH] =?UTF-8?q?fix:=20=F0=9F=90=9B=20disable=20expect-expect?= =?UTF-8?q?=20&=20no-deprecated-functions=20in=20e2e?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/configs/__snapshots__/testing.spec.ts.snap | 2 ++ src/configs/testing.ts | 2 ++ 2 files changed, 4 insertions(+) diff --git a/src/configs/__snapshots__/testing.spec.ts.snap b/src/configs/__snapshots__/testing.spec.ts.snap index f4905b0..7027635 100644 --- a/src/configs/__snapshots__/testing.spec.ts.snap +++ b/src/configs/__snapshots__/testing.spec.ts.snap @@ -3243,6 +3243,8 @@ If your function does not access \`this\`, you can annotate it with \`this: void ], "name": "jimmy.codes/testing/disabled", "rules": { + "jest/expect-expect": "off", + "jest/no-deprecated-functions": "off", "jest/require-hook": "off", }, }, diff --git a/src/configs/testing.ts b/src/configs/testing.ts index 4cba7cf..5c645a7 100644 --- a/src/configs/testing.ts +++ b/src/configs/testing.ts @@ -45,6 +45,8 @@ const testingConfig = ({ name: "jimmy.codes/testing/disabled", files: GLOB_E2E, rules: { + "jest/expect-expect": "off", + "jest/no-deprecated-functions": "off", "jest/require-hook": "off", }, },