We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0d4c6ac commit aaaaa42Copy full SHA for aaaaa42
src/controllers/test/index.js
@@ -70,7 +70,12 @@ export default class TestController {
70
71
testProcess.on('exit', function (statusCode) {
72
if (statusCode === 0) {
73
- resolve(stdoutLines.join('\n'));
+ if (options.format === 'json') {
74
+ resolve(stdoutLines.join());
75
+ }
76
+ else {
77
+ resolve(stdoutLines.join('\n'));
78
79
} else {
80
reject(stderrLines.join('\n'));
81
logger.error(stderrLines.join('\n'));
0 commit comments