SIGN IN SIGN UP

Switch DNS resolution to prefer IPv4 in tests

In the Cloudflare Workers local tests, Node seems to prefer resolving to
IPv6, but the Wrangler server is only listening to IPv4, which results
in "connection refused" errors. Fix the problem by forcing Node to
prefer IPv4 for DNS resolution.
P
Pekka Enberg committed
f472fd3c132cf2e63a346f9b8423ce1dbba48728
Parent: 8eb2f93