test: use tmpdir.refresh() in test-esm-loader-resolve-type.mjs by lpinca · Pull Request #51206 · nodejs/node

@lpinca

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

@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

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

@lpinca lpinca deleted the refresh/tmpdir-2 branch

December 20, 2023 18:42

RafaelGSS pushed a commit that referenced this pull request

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

PR-URL: #51206
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: Vinícius Lourenço Claro Cardoso <contact@viniciusl.com.br>

richardlau pushed a commit that referenced this pull request

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

PR-URL: #51206
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: Vinícius Lourenço Claro Cardoso <contact@viniciusl.com.br>