Skip to content
This repository has been archived by the owner on Jan 29, 2023. It is now read-only.

Commit

Permalink
Revert "test: run in series"
Browse files Browse the repository at this point in the history
This reverts commit f1a87d2.
  • Loading branch information
jdx committed Jan 28, 2018
1 parent 4061c3c commit 8fc077d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion package-scripts.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,9 @@ const tests = testTypes.map(cmd => {
let tests = _(['plain', 'mocha', 'typescript', 'everything'])
.map(t => [t, `test/commands/${cmd}/${t}.test.js`])
.map(([t, s]) => [t, process.env.CIRCLECI ? `MOCHA_FILE=reports/mocha-${t}.xml ${mocha} --reporter mocha-junit-reporter ${s}` : `${mocha} ${s}`])
tests = series(...tests.map(t => t[1]).value())
tests = process.platform === 'win32' ?
series(...tests.map(t => t[1]).value()) :
concurrent(tests.fromPairs().value())
if (process.env.CIRCLECI) {
return [cmd, series(mkdirp('reports'), tests)]
}
Expand Down

0 comments on commit 8fc077d

Please sign in to comment.