| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
|
Looks like there are some relevant test failures that need to be looked at! :-) |
Sorry, something went wrong.
There was a problem hiding this comment.
This test only check whether DeprecationWarning is emitted when hints is not a number.
Since the valid string value of hints depends on the OS environment, give an invalid string value here and assert the error.
Sorry, something went wrong.
Sorry, something went wrong.
PR-URL: #41133 Refs: https://coverage.nodejs.org/coverage-18ff5832501b66b4/lib/internal/dns/promises.js.html#L116 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Qingyu Deng <i@ayase-lab.com>
|
@kuriyosh This caused a failed test when pulling into the v16.x release. Do you mind creating a backport PR? |
Sorry, something went wrong.
|
@danielleadams |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
This improves a test coverage in lib/internal/dns/promises.
It tests emitting warning when the options types of lookup method are invalid.
ref: https://coverage.nodejs.org/coverage-18ff5832501b66b4/lib/internal/dns/promises.js.html#L116