mikeal / bent

Functional JS HTTP client (Node.js & Fetch) w/ async await

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Tests failing

aral opened this issue · comments

I haven’t been able to get the tests passing after:

  1. Clone repo
  2. npm i
  3. npm test

Error:

  23 passing (16s)
  2 failing

  1) basic 200 ok:
     Error: Timeout of 2000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves. (/home/aral/small-tech/site.js/forks/bent/test/test-basics.js)
      at listOnTimeout (internal/timers.js:549:17)
      at processTimers (internal/timers.js:492:7)

  2) basic json:
     Error: Timeout of 2000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves. (/home/aral/small-tech/site.js/forks/bent/test/test-basics.js)

Seems to be working fine now. Just a blip with https://echo-server.mikeal.now.sh, I think.

Thanks @CliffS, closing :)