Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tests not passing #19

Open
DullReferenceException opened this issue Apr 1, 2017 · 1 comment
Open

Tests not passing #19

DullReferenceException opened this issue Apr 1, 2017 · 1 comment

Comments

@DullReferenceException
Copy link
Contributor

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

$ npm test

> requests@0.1.7 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

@DullReferenceException
Copy link
Contributor Author

This fixes test runs for me: #20

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant