Skip to content

Tests not passing #19

@DullReferenceException

Description

@DullReferenceException

npm test is not passing for the master branch of this repository. I have run this with node v4 and v6.

$ npm test

> [email protected] test /Users/me/Code/requests
> node test/index.js



  requests
    ✓ is exported as function


  1 passing (8ms)

# phantomjs:


  requests
    ✓ is exported as function
    ✓ increments the internal `.id` for each instance
    ✓ sets the stream's booleans
    ✓ stores active requests
    ✓ does not receive content for 204 requests
    1) can handle large files with streaming
Error: I should never be called
      at test/requests.browser.js:64
      at node_modules/eventemitter3/index.js:150
      at browser.js:89
      at node_modules/eventemitter3/index.js:151
      at node_modules/loads/index.js:112
    2) does not receive content for 204 requests
    3) "after each" hook
    Requested
      ✓ is exported as a function
      #typeof

  6 passing (2s)
  3 failing

  1) requests can handle large files with streaming:
     Uncaught Error: I should never be called (http://localhost:50749/js/bundle:6735)
  

  2) requests does not receive content for 204 requests:
     done() called multiple times
  

  3) requests "after each" hook:
     Uncaught Error: Unknown assertation failure occured, assumed 0 to be greater than 1 (http://localhost:50749/js/bundle:1178)
  



    ✓ knows the difference between an array and object
    4) "after each" hook for "knows the difference between an array and object"


  7 passing (2s)
  4 failing

  1) requests can handle large files with streaming:
     Uncaught Error: I should never be called (http://localhost:50749/js/bundle:6735)
  

  2) requests does not receive content for 204 requests:
     done() called multiple times
  

  3) requests "after each" hook:
     Uncaught Error: Unknown assertation failure occured, assumed 0 to be greater than 1 (http://localhost:50749/js/bundle:1178)
  

  4)  "after each" hook for "knows the difference between an array and object":
     undefined is not an object (evaluating 'fn.call')



Error: Exit 1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions