common.mustCall() and common.mustCallAtLeast() need to be called
before process exit handlers to work because checks are done inside a
process exit handler. Detect if being used inside a process exit handler
and throw.
<!–
Th…
Moved from https://github.com/watilde/remark-preset-lint-node. The source for this preset will now live in the nodejs/node repository.
make -j4 test (UNIX), or vcbuild test (Windows) passesI added these case:
Sign without newVerify without newVerify#verify with options.padding !== options.padding >> 0Verify#verify with options. saltLength !== options. saltLength >> 0…
Fixes https://github.com/nodejs/node/issues/17169 for test/parallel/test-http-response-multiheaders.js
make -j4 test (UNIX), or vcbuild test (Windows) passesEnhance crypto/util coverage.
I added:
Current coverage:
<img width="584" alt="screen shot 2017-12-02 at 3 17 39" src="https://user-images.githubusercont…
common.PORT should not be used in parallel tests because another test
may experience a collision with common.PORT when using port 0 to get
an open port. This has been observed to result in test failures in CI.
<!–
Thank you fo…
<!–
Thank you for your pull request. Please review below requirements.
Bug fixes and new features should include tests and possibly benchmarks.
Contributors guide: https://github.com/nodejs/node/blob/master/CONTRIBUTING.md
–>
…
<!–
Thank you for your pull request. Please review below requirements.
Bug fixes and new features should include tests and possibly benchmarks.
Contributors guide: https://github.com/nodejs/node/blob/master/CONTRIBUTING.md
–>
…
<!–
Thank you for your pull request. Please review below requirements.
Bug fixes and new features should include tests and possibly benchmarks.
Contributors guide: https://github.com/nodejs/node/blob/master/CONTRIBUTING.md
–>
…
Remove setTimeout() in test and instead rely on common.mustCall() on
a timeout event handler.
The test was flaky on CI. The flakiness was replicable by running the
test under load. This version, in contrast, is robust under lo…
In most cases, named functions match the variable or property to which
they are being assigned. That also seems to be the practice in a series
of PRs currently being evaluated that name currently-anonymous
functions.
This change ap…
<!–
Thank you for your pull request. Please review below requirements.
Bug fixes and new features should include tests and possibly benchmarks.
Contributors guide: https://github.com/nodejs/node/blob/master/CONTRIBUTING.md
–>
…
<!–
Thank you for your pull request. Please review below requirements.
Bug fixes and new features should include tests and possibly benchmarks.
Contributors guide: https://github.com/nodejs/node/blob/master/CONTRIBUTING.md
–>
…