Remove enzyme (#640)
The test that was added is not a good test. If we want to test things, we should be testing logic that is error prone such as all the mouse handling logic and state management. Adding a test for something trivial as displaying a list of data is just going to be annoying when we eventually change the UI and the test breaks. Since this is the only test using enzyme, I also removed enzyme. We can add it back if we want to test a component using it.
This commit is contained in:
committed by
GitHub
parent
e4919e2e6c
commit
ead9aab888
@ -16,14 +16,10 @@
|
||||
},
|
||||
"description": "",
|
||||
"devDependencies": {
|
||||
"@types/enzyme": "3.10.4",
|
||||
"@types/enzyme-adapter-react-16": "1.0.5",
|
||||
"@types/jest": "25.1.0",
|
||||
"@types/nanoid": "2.1.0",
|
||||
"@types/react": "16.9.19",
|
||||
"@types/react-dom": "16.9.5",
|
||||
"enzyme": "3.11.0",
|
||||
"enzyme-adapter-react-16": "1.15.2",
|
||||
"husky": "4.2.1",
|
||||
"lint-staged": "10.0.3",
|
||||
"node-sass": "4.13.1",
|
||||
|
Reference in New Issue
Block a user