diff --git a/src/cmds/test.js b/src/cmds/test.js index d882655ad..3106ab2db 100644 --- a/src/cmds/test.js +++ b/src/cmds/test.js @@ -107,9 +107,9 @@ export default { * @param {any} argv */ async handler (argv) { - // temporarily disable code coverage on node targets running node 18 - if (argv.cov && process.version.startsWith('v18.') && argv.target === 'node') { - console.warn(kleur.red('!!! Temporarily disabling code coverage - https://github.com/ipfs/aegir/issues/1206\n')) // eslint-disable-line no-console + // temporarily disable code coverage on node 18 + if (argv.cov && process.version.startsWith('v18.')) { + console.warn(kleur.red('!!! Temporarily disabling code coverage\n')) // eslint-disable-line no-console delete argv.cov }