Skip to content

Commit

Permalink
fix(rn): rn test use testing library (#11419)
Browse files Browse the repository at this point in the history
* feat: refactory taro rn tests

* feat: update tsconfig
  • Loading branch information
zhiqingchen authored Mar 14, 2022
1 parent d437b73 commit 6f476ec
Show file tree
Hide file tree
Showing 72 changed files with 1,074 additions and 4,419 deletions.
7 changes: 3 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,8 @@
"@rollup/plugin-commonjs": "^20.0.0",
"@rollup/plugin-node-resolve": "^8.0.0",
"@rollup/plugin-replace": "^2.2.0",
"@testing-library/jest-native": "^4.0.4",
"@testing-library/react-native": "^9.0.0",
"@types/autoprefixer": "9.7.0",
"@types/babel-types": "^7.0.7",
"@types/babel__traverse": "^7.0.7",
Expand All @@ -93,7 +95,6 @@
"@vue/compiler-core": "3.0.0",
"@vue/runtime-core": "3.0.0",
"@vue/runtime-dom": "3.0.0",
"@wojtekmaj/enzyme-adapter-react-17": "0.6.1",
"babel-jest": "24.9.0",
"babel-plugin-syntax-jsx": "6.18.0",
"babel-preset-power-assert": "3.0.0",
Expand All @@ -102,8 +103,6 @@
"copy": "^0.3.2",
"cross-env": "^7.0.2",
"css-loader": "^0.28.10",
"enzyme": "^3.10.0",
"enzyme-to-json": "^3.4.2",
"eslint": "^6.8.0",
"eslint-config-prettier": "^6.4.0",
"eslint-config-standard": "^14.1.1",
Expand All @@ -123,8 +122,8 @@
"html-webpack-plugin": "^3.0.6",
"husky": "^1.2.0",
"jest": "26.4.2",
"jest-expo": "^42.0.0",
"jest-dom": "^1.3.1",
"jest-enzyme": "^7.1.1",
"jest-fetch-mock": "^3.0.3",
"jest-localstorage-mock": "^2.4.0",
"jest-mock-console": "^1.0.0",
Expand Down
8 changes: 0 additions & 8 deletions packages/taro-components-rn/__mocks__/fileMock.js

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

Loading

0 comments on commit 6f476ec

Please sign in to comment.