Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Added more information to cli unit tests about the child process spaw…

…ning environment.
  • Loading branch information...
commit 8593bea919bc962ce0470b3975bed80eb257a933 1 parent 2f2ef82
mosen authored
Showing with 4 additions and 0 deletions.
  1. +1 −0  lib/queues.js
  2. +3 −0  test/cli.test.js
View
1  lib/queues.js
@@ -13,6 +13,7 @@ var path = require('path'),
* @return {Queue} Instance of a queue with component build tasks added.
*/
exports._createSourceQueue = function(component, queueOpts) {
+
var q = new Queue('collect source files', queueOpts),
component_sourcefiles = component.sourcefiles,
View
3  test/cli.test.js
@@ -19,6 +19,9 @@ module.exports = {
var test_dir = path.resolve(path.join(__dirname, './fixtures/test_skip')),
build_dir = path.resolve(path.join(__dirname, './fixtures/build'));
+ console.log("Spawning ybuild as a child process");
+ console.log("node " + cli_path);
+ console.log("CWD: " + test_dir);
var ybuild = child_process.spawn('node', [cli_path, '.'], { cwd: test_dir, env: process.env });
attachConsole(ybuild);
Please sign in to comment.
Something went wrong with that request. Please try again.