Skip to content

Commit

Permalink
chore(testing): allow data-testid in production (#436)
Browse files Browse the repository at this point in the history
  • Loading branch information
mickr authored Apr 17, 2020
1 parent 990a6ac commit ff9a7ad
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 9 deletions.
3 changes: 0 additions & 3 deletions babel.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,6 @@ module.exports = api => {
},
],
env: {
production: {
plugins: [['react-remove-properties', { properties: ['data-testid'] }]],
},
test: {
plugins: ['@babel/plugin-transform-modules-commonjs'],
},
Expand Down
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
5 changes: 0 additions & 5 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit ff9a7ad

Please sign in to comment.