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:
@@ -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'
|
||||
|
||||
@@ -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
884
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user