test: add test for dns.promises.resolve
Summary
Added test for dns.promises.resolve.
This improves the test coverage of dns.promises.resolve. https://coverage.nodejs.org/coverage-e55bdde92513ecf4/root/internal/dns/promises.js.html#L229
Checklist
-
make -j4 test
(UNIX), orvcbuild test
(Windows) passes -
tests and/or benchmarks are included -
documentation is changed or added -
commit message follows commit guidelines