Update logger tests to use import-fresh.
Update https://gitlab.com/gitlab-ci-utils/pagean/-/blob/develop/tests/logger.test.js#L73 to leverage https://www.npmjs.com/package/import-fresh. It's a more complete clearing of the module cache. See https://github.com/nodejs/node/issues/8443 for details on the potential memory leak.
Edited by Aaron Goldenthal