Skip to content

Commit

Permalink
Remove enzyme
Browse files Browse the repository at this point in the history
  • Loading branch information
ryami333 committed Mar 5, 2019
1 parent b6265c4 commit f888a9b
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 341 deletions.
2 changes: 0 additions & 2 deletions jest.config.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
module.exports = {
testRegex: '(/__tests__/.*|(\\.|/)(test|spec))\\.[jt]sx?$',
setupFiles: ['./src/setupTests.js'],
setupFilesAfterEnv: ['./src/setupTestFramework.js'],
testPathIgnorePatterns: ['/node_modules/', '/dist/', '/integration/'],
moduleFileExtensions: ['js', 'jsx', 'ts', 'tsx'],
transform: {
Expand Down
4 changes: 0 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,6 @@
"@babel/preset-react": "^7.0.0",
"@babel/preset-typescript": "^7.1.0",
"@types/classnames": "^2.2.7",
"@types/enzyme": "^3.1.16",
"@types/jest": "^24.0.0",
"@types/react": "^16.8.3",
"@types/react-dom": "^16.8.0",
Expand All @@ -82,9 +81,6 @@
"babel-loader": "^8.0.4",
"coveralls": "^3.0.0",
"css-loader": "^2.0.1",
"enzyme": "^3.8.0",
"enzyme-adapter-react-16.3": "^1.6.1",
"enzyme-to-json": "^3.3.5",
"file-loader": "^3.0.1",
"gh-pages": "^2.0.1",
"html-webpack-plugin": "^3.2.0",
Expand Down
3 changes: 0 additions & 3 deletions src/setupTestFramework.js

This file was deleted.

4 changes: 0 additions & 4 deletions src/setupTests.js

This file was deleted.

5 changes: 1 addition & 4 deletions tslint.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,7 @@
],
"variable-name": false,
"no-default-export": false,
"no-implicit-dependencies": [
true,
["enzyme", "react-testing-library", "uuid"]
],
"no-implicit-dependencies": [true, ["react-testing-library", "uuid"]],
"no-null-keyword": false,
"export-name": false,
"completed-docs": false,
Expand Down
Loading

0 comments on commit f888a9b

Please sign in to comment.