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

Failing tests #73

Open
michaelpapworth opened this issue Apr 17, 2018 · 0 comments
Open

Failing tests #73

michaelpapworth opened this issue Apr 17, 2018 · 0 comments

Comments

@michaelpapworth
Copy link
Contributor

michaelpapworth commented Apr 17, 2018

I'm seeing test failures on the master branch with a fresh clone of this project. My terminal output reads as follows, can you advise?

➜  ~ git clone https://github.com/mrak/stubby4node.git
Cloning into 'stubby4node'...
remote: Counting objects: 2621, done.
remote: Total 2621 (delta 0), reused 0 (delta 0), pack-reused 2621
Receiving objects: 100% (2621/2621), 1.03 MiB | 10.13 MiB/s, done.
Resolving deltas: 100% (1344/1344), done.

➜  stubby4node git:(master) npm install
added 197 packages in 6.795s

➜  stubby4node git:(master) npm test

> [email protected] test /Users/me/stubby4node
> npm run lint && mocha --recursive test --reporter dot


> [email protected] lint /Users/me/stubby4node
> semistandard



  ․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․
  ․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․!!!․․․!․!

  148 passing (23s)
  5 failing

  1) Endpoint recording should fill in a string response with the recorded endpoint:
     Error: Timeout of 10000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves.
  

  2) Endpoint recording should fill in a string reponse with the recorded endpoint in series:

      Uncaught AssertionError: Timed out waiting 10000ms for endpoint to record
      + expected - actual

      -false
      +true
      
      at waitsFor (test/endpoint.js:18:3)
      at Timeout._onTimeout (test/endpoint.js:26:5)

  3) Endpoint recording should fill in a string reponse with the recorded endpoint in series:

      Uncaught AssertionError: Timed out waiting 10000ms for endpoint to record
      + expected - actual

      -false
      +true
      
      at waitsFor (test/endpoint.js:18:3)
      at Timeout._onTimeout (test/endpoint.js:26:5)

  4) Endpoint "before each" hook:
     TypeError: Cannot read property 'call' of undefined
  

  5) Endpoint "before each" hook:
     TypeError: Cannot read property 'call' of undefined
  



!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
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant