diff --git a/templates/app/package-scripts.js.ejs b/templates/app/package-scripts.js.ejs index 618641c..d34a8d1 100644 --- a/templates/app/package-scripts.js.ejs +++ b/templates/app/package-scripts.js.ejs @@ -40,7 +40,7 @@ const scripts = { <%_ if (mocha) { _%> if (process.env.CI) { if (process.env.CIRCLECI) { - scripts.mocha.script = series(mkdirp('reports'), scripts.mocha.script) + scripts.test.script = series(mkdirp('reports'), scripts.test.script) // add mocha junit reporter scripts.mocha.script = crossEnv(`MOCHA_FILE=reports/mocha.xml ${scripts.mocha.script} --reporter mocha-junit-reporter`) // add eslint reporter