From ff9a7adeb6ea404dcf1e32f47a701ed5c47d0904 Mon Sep 17 00:00:00 2001 From: Mick Ryan Date: Fri, 17 Apr 2020 15:32:15 -0700 Subject: [PATCH] chore(testing): allow data-testid in production (#436) --- babel.config.js | 3 --- package.json | 1 - yarn.lock | 5 ----- 3 files changed, 9 deletions(-) diff --git a/babel.config.js b/babel.config.js index 8d14b9456..006a13310 100644 --- a/babel.config.js +++ b/babel.config.js @@ -39,9 +39,6 @@ module.exports = api => { }, ], env: { - production: { - plugins: [['react-remove-properties', { properties: ['data-testid'] }]], - }, test: { plugins: ['@babel/plugin-transform-modules-commonjs'], }, diff --git a/package.json b/package.json index 67616264a..e380c8aa2 100644 --- a/package.json +++ b/package.json @@ -74,7 +74,6 @@ "babel-loader": "^8.0.6", "babel-plugin-istanbul": "^6.0.0", "babel-plugin-react-intl": "^5.1.16", - "babel-plugin-react-remove-properties": "^0.3.0", "babel-plugin-transform-require-ignore": "^0.1.1", "circular-dependency-plugin": "^5.2.0", "conventional-github-releaser": "^3.1.3", diff --git a/yarn.lock b/yarn.lock index 5fd797b3d..389363d91 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2635,11 +2635,6 @@ babel-plugin-react-intl@^5.1.16: intl-messageformat-parser "^3.6.2" schema-utils "^2.2.0" -babel-plugin-react-remove-properties@^0.3.0: - version "0.3.0" - resolved "https://registry.yarnpkg.com/babel-plugin-react-remove-properties/-/babel-plugin-react-remove-properties-0.3.0.tgz#7b623fb3c424b6efb4edc9b1ae4cc50e7154b87f" - integrity sha512-vbxegtXGyVcUkCvayLzftU95vuvpYFV85pRpeMpohMHeEY46Qe0VNWfkVVcCbaZ12CXHzDFOj0esumATcW83ng== - babel-plugin-transform-require-ignore@^0.1.1: version "0.1.1" resolved "https://registry.yarnpkg.com/babel-plugin-transform-require-ignore/-/babel-plugin-transform-require-ignore-0.1.1.tgz#1abb0f803cc29646dd0057f538fdb4a98d6cb8b2"