Skip to content

Commit eba6817

Browse files
author
Robert Jackson
committed
Pipe codemod output to the console during acceptance test.
1 parent fd8ba6c commit eba6817

1 file changed

Lines changed: 8 additions & 1 deletion

File tree

test/run-test.js

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,14 @@ const execOpts = { cwd: inputDir, stderr: 'inherit' };
3030

3131
console.log('running codemod');
3232

33-
await execa('../../../bin/cli.js', ['http://localhost:4200', 'app'], execOpts);
33+
const codemodProcess = execa(
34+
'../../../bin/cli.js',
35+
['http://localhost:4200', 'app', 'lib/special-sauce/addon'],
36+
execOpts
37+
);
38+
codemodProcess.stdout.pipe(process.stdout);
39+
40+
await codemodProcess;
3441

3542
console.log('codemod complete, ending serve');
3643

0 commit comments

Comments
 (0)