afc163 před 8 roky
rodič
revize
c271a7b7f1
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      tests/run-tests.js

+ 1 - 1
tests/run-tests.js

@@ -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', () => {