test: work around ENOTEMPTY when cleaning tmp dir
Replace the homegrown rimrafsync implementation in test/common with
a call to `fs.rmdirSync(path, { recursive: true })`.
Fixes: https://github.com/nodejs/node/issues/30620
Fixes: https://github.com/nodejs/node/issues/30844
PR-URL: https://github.com/nodejs/node/pull/30849
Reviewed-By:
Colin Ihrig <cjihrig@gmail.com>
Reviewed-By:
Rich Trott <rtrott@gmail.com>
parent
973b5c02
Please register or sign in to comment