You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Test suite failed to run
Configuration error:
Could not locate module @tarojs/components mapped as:
@tarojs/components/dist-h5/react.
Please check your configuration for these entries:
{
"moduleNameMapper": {
"/@tarojs\/components/": "@tarojs/components/dist-h5/react"
},
"resolver": undefined
}
期望结果
运行test pass
实际结果
Test suite failed to run
Configuration error:
Could not locate module @tarojs/components mapped as:
@tarojs/components/dist-h5/react.
Please check your configuration for these entries:
{
"moduleNameMapper": {
"/@tarojs\/components/": "@tarojs/components/dist-h5/react"
},
"resolver": undefined
}
相关平台
微信小程序
小程序基础库: 3.3.6
使用框架: React
复现步骤
npm run test后
期望结果
运行test pass
实际结果
环境信息
补充信息
jest.config.js
test.tsx
index.test.js
The text was updated successfully, but these errors were encountered: