test: try just unsetting CIRCLECI
MODIFY
templates/app/package-scripts.js.ejs
templates/app/package-scripts.js.ejs
@@ -38,7 +38,7 @@ const scripts = {
}
<%_ if (mocha) { _%>
-if (process.env.CI && !process.env.DXCLI_TESTING) {
+if (process.env.CI) {
if (process.env.CIRCLECI) {
scripts.mocha.script = series(mkdirp('reports'), scripts.mocha.script)
// add mocha junit reporter

MODIFY
test/run.js
test/run.js
@@ -5,10 +5,9 @@ const npmPath = require('npm-run-path')
sh.set('-ev')
-process.env.DXCLI_TESTING = '1'
-
module.exports = (type, features) => {
return test
+ .env({CIRCLECI: undefined})
.do(ctx => {
process.chdir(path.join(__dirname, '..'))
let options = ''

test: try just unsetting CIRCLECI