test: refactor test-dgram-address.js
- separate the IPv4 and IPv6 tests using block scopes - use common.mustCall() and arrow functions for callbacks - add coverage for case where address() throws PR-URL: https://github.com/nodejs/node/pull/11271 Reviewed-By:James M Snell <jasnell@gmail.com>
parent
fd18b656
Please register or sign in to comment