Skip to content

Instantly share code, notes, and snippets.

@bcoe
Created December 25, 2015 04:18
Show Gist options
  • Select an option

  • Save bcoe/574f20564e423375d0a6 to your computer and use it in GitHub Desktop.

Select an option

Save bcoe/574f20564e423375d0a6 to your computer and use it in GitHub Desktop.
output-on-master.md
ubuntu@enterprise:~/tmp/spawn-wrap$ git branch
* master
  windows
ubuntu@enterprise:~/tmp/spawn-wrap$ npm t

> spawn-wrap@1.0.1 test /home/ubuntu/tmp/spawn-wrap
> tap test/*.js

test/basic.js ....................................... 12/16
  SIGHUP
  not ok should be equal
    +++ found                                                          
    --- wanted                                                         
     WRAP ["{{FIXTURE}}","xyz"]                                        
     []                                                                
     ["xyz"]                                                           
    -SIGHUP                                                            
    -EXIT [null,"SIGHUP"]                                              
    +EXIT [0,null]                                                     
    compare: ===
    at:
      file: test/basic.js
      line: 79
      column: 7
      type: ChildProcess
    source: "t.equal(out, 'WRAP [\"{{FIXTURE}}\",\"xyz\"]\\n' +\n"
    stack: |
      ChildProcess.<anonymous> (test/basic.js:79:7)
      maybeClose (child_process.js:766:16)
      Socket.<anonymous> (child_process.js:979:11)
      Pipe.close (net.js:466:12)
  
  SIGINT
  not ok should be equal
    +++ found                                                          
    --- wanted                                                         
    -0                                                                 
    +[null]                                                            
    compare: ===
    at:
      file: test/basic.js
      line: 102
      column: 7
      type: ChildProcess
    source: |
      t.equal(code, 0)
    stack: |
      ChildProcess.<anonymous> (test/basic.js:102:7)
      maybeClose (child_process.js:766:16)
      Process.ChildProcess._handle.onexit (child_process.js:833:5)
  
  SIGINT
  not ok should be equal
    +++ found                                                          
    --- wanted                                                         
    -[null]                                                            
    +"SIGINT"                                                          
    compare: ===
    at:
      file: test/basic.js
      line: 103
      column: 7
      type: ChildProcess
    source: |
      t.equal(signal, null)
    stack: |
      ChildProcess.<anonymous> (test/basic.js:103:7)
      maybeClose (child_process.js:766:16)
      Process.ChildProcess._handle.onexit (child_process.js:833:5)
  
  SIGINT
  not ok should be equal
    +++ found                                                          
    --- wanted                                                         
     WRAP ["{{FIXTURE}}","xyz"]                                        
     []                                                                
     ["xyz"]                                                           
    -SIGINT                                                            
     EXIT [0,null]                                                     
    compare: ===
    at:
      file: test/basic.js
      line: 104
      column: 7
      type: ChildProcess
    source: "t.equal(out, 'WRAP [\"{{FIXTURE}}\",\"xyz\"]\\n' +\n"
    stack: |
      ChildProcess.<anonymous> (test/basic.js:104:7)
      maybeClose (child_process.js:766:16)
      Process.ChildProcess._handle.onexit (child_process.js:833:5)

total ............................................... 12/16
  

  12 passing (927.493ms)
  4 failing

npm ERR! Test failed.  See above for more details.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment