test: expand test coverage of fs.js
- test calling truncateSync() passing a file descriptor
- test calling truncate() passing undefined as the 2nd argument
Refs: https://coverage.nodejs.org/coverage-8ab561b2432bdae3/root/fs.js.html (line 673 and 692)
Checklist
-
make -j4 test
(UNIX) -
commit message follows commit guidelines
Affected core subsystem(s)
test