From 5a13583c85e44bbfbb3913f1295bf2cdde9869d4 Mon Sep 17 00:00:00 2001 From: fisker Cheung Date: Tue, 19 Jul 2022 13:57:42 +0800 Subject: [PATCH] Remove outdated code (#13131) --- jest.config.mjs | 7 ------- 1 file changed, 7 deletions(-) diff --git a/jest.config.mjs b/jest.config.mjs index dae0dfa95..2f44888d4 100644 --- a/jest.config.mjs +++ b/jest.config.mjs @@ -9,7 +9,6 @@ const TEST_STANDALONE = Boolean(process.env.TEST_STANDALONE); const INSTALL_PACKAGE = Boolean(process.env.INSTALL_PACKAGE); // When debugging production test, this flag can skip installing package const SKIP_PRODUCTION_INSTALL = Boolean(process.env.SKIP_PRODUCTION_INSTALL); -const SKIP_TESTS_WITH_NEW_SYNTAX = process.versions.node.startsWith("12."); let PRETTIER_DIR = isProduction ? path.join(PROJECT_ROOT, "dist") @@ -32,12 +31,6 @@ if (!isProduction) { "/tests/integration/__tests__/bundle.js" ); } -if (SKIP_TESTS_WITH_NEW_SYNTAX) { - testPathIgnorePatterns.push( - "/tests/integration/__tests__/help-options.js", - "/tests/format/misc/empty/jsfmt.spec.js" - ); -} const config = { projects: [