mirror of
https://github.com/youzan/vant.git
synced 2025-12-24 02:02:09 +08:00
DatetimePicker: improve test coverage
This commit is contained in:
@@ -1,5 +1,8 @@
|
||||
require('packages/vant-css/src/index.css');
|
||||
|
||||
// hack for test touch event
|
||||
window.ontouchstart = {};
|
||||
|
||||
// 读取配置文件,判断运行单个测试文件还是所有测试文件
|
||||
const testsReq = require.context('./specs', true, /\.spec$/);
|
||||
if (process.env.TEST_FILE) {
|
||||
|
||||
Reference in New Issue
Block a user