test: test methods of internal/util/types in vm
Test those methods of internal/util/types using vm.runInNewContext
like previous types.isUint8Array
Checklist
-
make -j4 test
(UNIX), orvcbuild test
(Windows) passes -
tests and/or benchmarks are included -
commit message follows commit guidelines