stubby4node icon indicating copy to clipboard operation
stubby4node copied to clipboard

Failing tests

Open michaelpapworth opened this issue 6 years ago • 0 comments

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.

michaelpapworth avatar Apr 17 '18 11:04 michaelpapworth