test: add tests for fsPromises.truncate and FileHandle.truncate
To increase test coverage, added tests for fsPromises.truncate and FileHandle.truncate.
Checklist
-
make -j4 test
(UNIX), orvcbuild test
(Windows) passes -
commit message follows commit guidelines