Remove enzyme which we aren’t using right now (#5626)

Our approach to preventing bugs on the frontend has mostly leveraged types, though we could restore these if we start writing frontend tests again. In the meantime it's one less thing to unnecessarily install and maintain.
This commit is contained in:
Paul Melnikow
2020-09-29 20:17:49 -04:00
committed by GitHub
parent 342ea93c52
commit 0e90b7e6ed
4 changed files with 2 additions and 898 deletions

View File

@@ -14,9 +14,6 @@ update_configs:
- match:
dependency_name: 'eslint*'
update_type: 'semver:minor'
- match:
dependency_name: 'enzyme*'
update_type: 'semver:minor'
- match:
dependency_name: 'mocha*'
update_type: 'semver:minor'

View File

@@ -1,8 +0,0 @@
import Enzyme from 'enzyme'
import Adapter from 'enzyme-adapter-react-16'
import chai from 'chai'
import chaiEnzyme from 'chai-enzyme'
Enzyme.configure({ adapter: new Adapter() })
chai.use(chaiEnzyme())

884
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@@ -147,8 +147,6 @@
"@babel/register": "7.11.5",
"@mapbox/react-click-to-select": "^2.2.0",
"@types/chai": "^4.2.12",
"@types/chai-enzyme": "^0.6.7",
"@types/enzyme": "^3.10.6",
"@types/lodash.debounce": "^4.0.6",
"@types/lodash.groupby": "^4.6.6",
"@types/mocha": "^8.0.3",
@@ -165,7 +163,6 @@
"caller": "^1.0.1",
"chai": "^4.1.2",
"chai-datetime": "^1.7.0",
"chai-enzyme": "^1.0.0-beta.1",
"chai-string": "^1.4.0",
"cheerio": "^1.0.0-rc.3",
"child-process-promise": "^2.2.1",
@@ -175,8 +172,6 @@
"danger": "^10.4.1",
"danger-plugin-no-test-shortcuts": "^2.0.0",
"deepmerge": "^4.2.2",
"enzyme": "^3.11.0",
"enzyme-adapter-react-16": "^1.15.5",
"eslint": "^6.8.0",
"eslint-config-prettier": "^6.12.0",
"eslint-config-standard": "^14.1.1",