提交 32a3752a 编写于 作者: U ULIVZ

chore($test-utils): tweaks

上级 3daac598
......@@ -3,11 +3,9 @@ const rawArgs = process.argv.slice(2)
module.exports = function createJestRunner (jestArgs) {
return async function () {
console.log(`running jest with args: ${jestArgs.join(' ')}`)
await execa('jest', [
...jestArgs,
...rawArgs
], {
const args = [...jestArgs, ...rawArgs]
console.log(`running jest with args: ${args.join(' ')}`)
await execa('jest', args, {
stdio: 'inherit'
})
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册