test: fix tests so they work in worker threads
Use the cwd
option for child_process instead of process.chdir()
to
allow tests to work with worker threads.
Checklist
-
make -j4 test
(UNIX), orvcbuild test
(Windows) passes -
tests and/or benchmarks are included -
commit message follows commit guidelines