Skip to content

test: use fs rimraf to refresh tmpdir

Rodrigo Muino Tomonari requested to merge github/fork/cjihrig/tmpdir into master

Ignore the first two commits, which are just https://github.com/nodejs/node/pull/29168.

Commit: test: use fs rimraf to refresh tmpdir

If rimraf lands in core, we should use it to refresh the tmpdir in our test suite. We should be able to remove even more of this code (like spawning a child process), but I figured this was a good starting point.

Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • tests and/or benchmarks are included
  • commit message follows commit guidelines

Merge request reports

Loading