Skip to content

Commit

Permalink
fix: force using TAP reporter in CI
Browse files Browse the repository at this point in the history
Signed-off-by: Charlike Mike Reagent <[email protected]>
  • Loading branch information
Charlike Mike Reagent committed Jul 19, 2018
1 parent d05b02f commit 2e6cd55
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "asia",
"version": "0.18.1",
"version": "0.18.2",
"description": "Blazingly fast, magical and minimalist testing framework, for Today and Tomorrow",
"repository": "olstenlarck/asia",
"author": "Charlike Mike Reagent",
Expand Down
4 changes: 4 additions & 0 deletions src/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,10 @@ function getRelativePath(fp) {
}

function getReporter(argv = {}) {
if (isCI) {
argv.reporter = 'tap'; // eslint-disable-line no-param-reassign
}

if (typeof argv.reporter === 'string') {
/* eslint-disable global-require, import/no-dynamic-require */

Expand Down

0 comments on commit 2e6cd55

Please sign in to comment.