test: get lib/wasi.js coverage to 100%
This commit covers the last remaining uncovered code in lib/wasi.js
.
Checklist
-
make -j4 test
(UNIX), orvcbuild test
(Windows) passes -
tests and/or benchmarks are included -
commit message follows commit guidelines