Commit c271a7b7 authored by afc163's avatar afc163

fix test

parent 2d1148eb
...@@ -22,7 +22,7 @@ startServer.stdout.on('data', (data) => { ...@@ -22,7 +22,7 @@ startServer.stdout.on('data', (data) => {
if (data.toString().indexOf('The app is running at') >= 0) { if (data.toString().indexOf('The app is running at') >= 0) {
// eslint-disable-next-line // eslint-disable-next-line
console.log('Development server is started, ready to run tests.'); console.log('Development server is started, ready to run tests.');
const testCmd = spawn('npm', ['run', 'jest'], { const testCmd = spawn('npm', ['test'], {
stdio: 'inherit', stdio: 'inherit',
}); });
testCmd.on('exit', () => { testCmd.on('exit', () => {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment