Skip to content

Commit

Permalink
DONOTSUBMIT: Test case for angular#16073.
Browse files Browse the repository at this point in the history
  • Loading branch information
dgp1130 committed Nov 5, 2019
1 parent e2f8c57 commit df799ac
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 0 deletions.
1 change: 1 addition & 0 deletions spaced script.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
console.log('Hello World!');
19 changes: 19 additions & 0 deletions test.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
const {spawn} = require('child_process');

const proc = spawn('node', [
'/usr/local/google/home/douglasparker/Source/Angular CLI/spaced script.js',
], {
});

proc.stdout.on('data', (data) => {
console.log(data.toString());
});
proc.stderr.on('data', (data) => {
console.error(data.toString());
});
proc.once('exit', (code) => {
console.error(`Exited with code: ${code}.`);
});
proc.once('error', (err) => {
console.error(`Exited with error: ${err.message}`);
});

0 comments on commit df799ac

Please sign in to comment.