@gkalpak/ng-maintain-utils
Advanced tools
Comparing version 0.0.16 to 0.0.17
{ | ||
"name": "@gkalpak/ng-maintain-utils", | ||
"version": "0.0.16", | ||
"version": "0.0.17", | ||
"description": "A private collection of utilities for developing tools to help maintain (AngularJS-related) GitHub repositories.", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
@@ -51,7 +51,7 @@ 'use strict'; | ||
it('should support piping from stdout', done => { | ||
let command = 'echo "Hello, world!"'; | ||
let command = 'echo Hello, world!'; | ||
let response = runCommand(command); | ||
response.promise. | ||
then(() => expect(response.stdout.trim()).toBe('"Hello, world!"')). | ||
then(() => expect(response.stdout.trim()).toBe('Hello, world!')). | ||
then(done); | ||
@@ -72,6 +72,6 @@ }); | ||
it('should support command piping', done => { | ||
let command1 = `echo "Hello, world!" | ${nodeCatCommand} | ${nodeCatCommand}`; | ||
let command1 = `echo Hello, world! | ${nodeCatCommand} | ${nodeCatCommand}`; | ||
let response1 = runCommand(command1); | ||
let command2 = `echo "Hello, world!" | ${nodeCatCommand} | ${nodeNoopCommand}`; | ||
let command2 = `echo Hello, world! | ${nodeCatCommand} | ${nodeNoopCommand}`; | ||
let response2 = runCommand(command2); | ||
@@ -81,3 +81,3 @@ | ||
all([ | ||
response1.promise.then(() => expect(response1.stdout.trim()).toBe('"Hello, world!"')), | ||
response1.promise.then(() => expect(response1.stdout.trim()).toBe('Hello, world!')), | ||
response2.promise.then(() => expect(response2.stdout.trim()).toBe('')) | ||
@@ -84,0 +84,0 @@ ]). |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
244590