test: use tmpdir.refresh() in test-esm-json.mjs by lpinca · Pull Request #51205 · nodejs/node

@nodejs-github-bot added esm

Issues and PRs related to the ECMAScript Modules implementation.

needs-ci

PRs that need a full CI run.

test

Issues and PRs related to the tests.

labels

Dec 18, 2023

@lpinca

Use `tmpdir.refresh()` in `test/es-module/test-esm-json.mjs` so that
the temporary directory is removed when the test exits.

H4ad

H4ad approved these changes Dec 19, 2023

@H4ad H4ad added the author ready

PRs that have at least one approval, no pending requests for changes, and a CI started.

label

Dec 19, 2023

debadree25

RafaelGSS pushed a commit that referenced this pull request

Jan 2, 2024
Use `tmpdir.refresh()` in `test/es-module/test-esm-json.mjs` so that
the temporary directory is removed when the test exits.

PR-URL: #51205
Reviewed-By: Vinícius Lourenço Claro Cardoso <contact@viniciusl.com.br>
Reviewed-By: Debadree Chatterjee <debadree333@gmail.com>

richardlau pushed a commit that referenced this pull request

Mar 25, 2024
Use `tmpdir.refresh()` in `test/es-module/test-esm-json.mjs` so that
the temporary directory is removed when the test exits.

PR-URL: #51205
Reviewed-By: Vinícius Lourenço Claro Cardoso <contact@viniciusl.com.br>
Reviewed-By: Debadree Chatterjee <debadree333@gmail.com>