Skip to content
This repository has been archived by the owner on Apr 25, 2019. It is now read-only.

Commit

Permalink
remove SERVER_TEST_REPORTER for test command on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
jshimko committed May 23, 2017
1 parent f3d8942 commit edd8ff2
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/commands/test.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import os from 'os';
import _ from 'lodash';
import chalk from 'chalk';
import { exec } from 'shelljs';
Expand Down Expand Up @@ -28,7 +29,9 @@ export function test(yargs) {
});
Log.info('Running custom test command:');
} else {
cmd = 'SERVER_TEST_REPORTER="dot" ' + cmd;
if (os.platform() !== 'win32') {
cmd = 'SERVER_TEST_REPORTER="dot" ' + cmd;
}
if (subCommands[1] === 'unit') {
cmd += ' --once --headless --driver-package dispatch:mocha';
Log.info('Running unit tests command:');
Expand Down

0 comments on commit edd8ff2

Please sign in to comment.