File tree Expand file tree Collapse file tree 8 files changed +18
-106
lines changed
Expand file tree Collapse file tree 8 files changed +18
-106
lines changed Original file line number Diff line number Diff line change @@ -17,6 +17,8 @@ npm i @tarojs/test-utils-vue3 --save
1717npm i @tarojs/test-utils-vue --save
1818```
1919
20+ ⚠️ ` @tarojs/plugin-platform-h5 ` 为前置peerDependencies,请勿删除该依赖申明
21+
2022## 使用
2123
2224### 安装 Jest
Original file line number Diff line number Diff line change 11{
22 "name" : " taro-test-utils" ,
3- "version" : " 0.1.0 " ,
3+ "version" : " 0.1.1 " ,
44 "description" : " " ,
55 "main" : " index.js" ,
66 "private" : true ,
Original file line number Diff line number Diff line change 11{
22 "name" : " @tarojs/test-utils-dom" ,
3- "version" : " 0.1.0 " ,
3+ "version" : " 0.1.1 " ,
44 "main" : " dist/index.js" ,
55 "type" : " module" ,
66 "license" : " MIT" ,
Original file line number Diff line number Diff line change 11{
22 "name" : " @tarojs/test-utils-react" ,
3- "version" : " 0.1.0 " ,
3+ "version" : " 0.1.1 " ,
44 "main" : " dist/index.js" ,
55 "license" : " MIT" ,
66 "scripts" : {
1818 "typings" : " dist/index.d.ts" ,
1919 "dependencies" : {
2020 "@babel/runtime" : " ^7.21.5" ,
21- "@tarojs/plugin-platform-h5" : " ^3.6.0" ,
2221 "@tarojs/test-utils-dom" : " workspace:*" ,
2322 "@tarojs/test-utils-shared" : " workspace:*" ,
2423 "babel-jest" : " ^29.5.0" ,
4342 "peerDependencies" : {
4443 "@tarojs/components" : " ^3.6.0" ,
4544 "@tarojs/helper" : " ^3.6.0" ,
46- "@tarojs/taro -h5" : " ^3.6.0" ,
45+ "@tarojs/plugin-platform -h5" : " ^3.6.0" ,
4746 "@tarojs/plugin-framework-react" : " ^3.6.0" ,
4847 "@tarojs/react" : " ^3.6.0" ,
49- "@tarojs/router" : " ^3.6.0" ,
5048 "@tarojs/runtime" : " ^3.6.0" ,
5149 "@tarojs/shared" : " ^3.6.0" ,
52- "@tarojs/taro" : " ^3.6.0" ,
5350 "react" : " ^18.0.0" ,
5451 "react-dom" : " ^18.0.0"
5552 }
Original file line number Diff line number Diff line change 11{
22 "name" : " @tarojs/test-utils-shared" ,
3- "version" : " 0.1.0 " ,
3+ "version" : " 0.1.1 " ,
44 "main" : " dist/index.js" ,
55 "type" : " module" ,
66 "license" : " MIT" ,
Original file line number Diff line number Diff line change 11{
22 "name" : " @tarojs/test-utils-vue" ,
3- "version" : " 0.1.0 " ,
3+ "version" : " 0.1.1 " ,
44 "main" : " dist/index.js" ,
55 "license" : " MIT" ,
66 "scripts" : {
1818 },
1919 "dependencies" : {
2020 "@babel/runtime" : " ^7.21.5" ,
21- "@tarojs/plugin-platform-h5" : " ^3.6.0" ,
2221 "@tarojs/test-utils-dom" : " workspace:*" ,
2322 "@tarojs/test-utils-shared" : " workspace:*" ,
2423 "@vue/test-utils" : " ^1.3.6" ,
4645 "peerDependencies" : {
4746 "@tarojs/components" : " ^3.6.0" ,
4847 "@tarojs/helper" : " ^3.6.0" ,
49- "@tarojs/taro -h5" : " ^3.6.0" ,
48+ "@tarojs/plugin-platform -h5" : " ^3.6.0" ,
5049 "@tarojs/plugin-framework-vue2" : " ^3.6.0" ,
51- "@tarojs/router" : " ^3.6.0" ,
5250 "@tarojs/runtime" : " ^3.6.0" ,
5351 "@tarojs/shared" : " ^3.6.0"
5452 }
Original file line number Diff line number Diff line change 11{
22 "name" : " @tarojs/test-utils-vue3" ,
3- "version" : " 0.1.0 " ,
3+ "version" : " 0.1.1 " ,
44 "main" : " dist/index.js" ,
55 "license" : " MIT" ,
66 "scripts" : {
1818 },
1919 "dependencies" : {
2020 "@babel/runtime" : " ^7.21.5" ,
21- "@tarojs/plugin-platform-h5" : " ^3.6.0" ,
2221 "@tarojs/test-utils-dom" : " workspace:*" ,
2322 "@tarojs/test-utils-shared" : " workspace:*" ,
2423 "@vue/test-utils" : " ^2.3.2" ,
4443 },
4544 "peerDependencies" : {
4645 "@tarojs/components" : " ^3.6.0" ,
47- "@tarojs/taro-h5" : " ^3.6.0" ,
4846 "@tarojs/helper" : " ^3.6.0" ,
47+ "@tarojs/plugin-platform-h5" : " ^3.6.0" ,
4948 "@tarojs/plugin-framework-vue3" : " ^3.6.0" ,
50- "@tarojs/router" : " ^3.6.0" ,
5149 "@tarojs/runtime" : " ^3.6.0" ,
5250 "@tarojs/shared" : " ^3.6.0"
5351 },
You can’t perform that action at this time.
0 commit comments