You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to upgrade node-bcrypt which still uses nodeunit style tests. The repetitions test fails due to timeout.
You can test this by:
git clone git@github.com:kelektiv/node.bcrypt.js.git
cd node.bcrypt.js
npm i
npx nodeunit-tape-compat test/repetitions.js
Note however this is platform dependent, depending on your machine you may beat the timeout. This is what I see on a linux Celeron box:
...
✓ equal(No match.)
✓ equal(No match.)
✓ equal(No match.)
✘ Some tests failed.
Error: Test timeouted or exited without ending
at /Users/thom/.npm/_npx/30520/lib/node_modules/nodeunit-tape-compat/node_modules/scramjet-core/lib/util/promise-transform-stream.js:230:31
caused by:
at Timeout._onTimeout (/Users/thom/.npm/_npx/30520/lib/node_modules/nodeunit-tape-compat/index.js:87:29)
however it passes if I run npx nodeunit test/repetitions.js:
I'm trying to upgrade node-bcrypt which still uses nodeunit style tests. The repetitions test fails due to timeout.
You can test this by:
Note however this is platform dependent, depending on your machine you may beat the timeout. This is what I see on a linux Celeron box:
however it passes if I run
npx nodeunit test/repetitions.js
:note the run time is right near the 10 second hard-coded timeout.
The text was updated successfully, but these errors were encountered: