[v6.x backport] test: allow tests to pass without internet
Currently when running the test without an internet connection there are two JavaScript test failures
This commit moves the two JavaScript tests to test/internet.
PR-URL: https://github.com/nodejs/node/pull/16255 Reviewed-By: Anna Henningsen anna@addaleax.net Reviewed-By: James M Snell jasnell@gmail.com
Checklist
-
make -j4 test
(UNIX), orvcbuild test
(Windows) passes -
commit message follows commit guidelines
Affected core subsystem(s)
test