提交 c271a7b7 编写于 作者: A afc163

fix test

上级 2d1148eb
......@@ -22,7 +22,7 @@ startServer.stdout.on('data', (data) => {
if (data.toString().indexOf('The app is running at') >= 0) {
// eslint-disable-next-line
console.log('Development server is started, ready to run tests.');
const testCmd = spawn('npm', ['run', 'jest'], {
const testCmd = spawn('npm', ['test'], {
stdio: 'inherit',
});
testCmd.on('exit', () => {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册