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

[joss][tests] Test run failure - before hook times out #18

Closed
sneakers-the-rat opened this issue Feb 19, 2024 · 2 comments
Closed

[joss][tests] Test run failure - before hook times out #18

sneakers-the-rat opened this issue Feb 19, 2024 · 2 comments

Comments

@sneakers-the-rat
Copy link

sneakers-the-rat commented Feb 19, 2024

Part of: openjournals/joss-reviews#6336

Thank you for your feedback.

Current behaviour

Trying to run tests:

npm install
npm run test

yields

> thresholdmann@1.0.0 test
> mocha --exit



  Test Thresholdmann
    1) "before all" hook in "Test Thresholdmann"


  0 passing (5s)
  1 failing

  1) Test Thresholdmann
       "before all" hook in "Test Thresholdmann":
     Error: Timeout of 5000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves. (/Users/jonny/git/forks/thresholdmann/test.mjs)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7)

I suspect this has something to do with my use of lulu to block most traffic to google, as chrome attempts to launch and requests network access. I allowed it temporarily but that created a new issue:

  1) Test Thresholdmann
       "before all" hook in "Test Thresholdmann":
     Error: net::ERR_CONNECTION_REFUSED at http://127.0.0.1:8080

Expected behaviour

Expected to run tests!

Version information (for bug reports)

Possible causes

@katjaq
Copy link
Member

katjaq commented Mar 5, 2024

Thank you so much for reporting this and fixing it for us ❤️ 🌟 🚀

@katjaq
Copy link
Member

katjaq commented Mar 5, 2024

Closing this as kindly fixed by @sneakers-the-rat <3

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

2 participants