mirror of
https://github.com/youzan/vant.git
synced 2025-10-21 03:11:15 +00:00
[Improvement] optimize area performance (#457)
This commit is contained in:
@@ -13,7 +13,9 @@ inquirer.prompt([{
|
||||
name: 'select',
|
||||
message: '请选择要运行的测试文件:',
|
||||
choices: files
|
||||
}], (result) => {
|
||||
}]).then(result => {
|
||||
const file = result.select.replace('.spec.js', '');
|
||||
shell.exec('karma start test/unit/karma.conf.js --color alway --file ' + file);
|
||||
}).catch(error => {
|
||||
console.log(error);
|
||||
});
|
||||
|
Reference in New Issue
Block a user