Open awmleer opened 2 years ago
No response
c2b32361e 这次的改动确保了 convertPx 在测试环境下是可以正常运行的,不再会出现 warning 了,当然实现原理是直接把整个 module mock 掉了
convertPx
至于业务项目中如果使用了 antd-mobile 的组件库,想写测试用例的话,可能未来需要手动在 jest 配置中加上 antd-mobile 的 setup 文件,不确定能不能行的通,这个 issue 先继续挂在这里,等下个版本发布之后可以试一下
Version of antd-mobile
No response
Description
No response