Skip to content

Commit

Permalink
fix: re-enable test coverage (#1195)
Browse files Browse the repository at this point in the history
c8 has been released recently as has node so re-enable test coverage
  • Loading branch information
achingbrain authored Oct 24, 2023
1 parent 9fb58ec commit 9b35013
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/cmds/test.js
Original file line number Diff line number Diff line change
Expand Up @@ -107,9 +107,9 @@ export default {
* @param {any} argv
*/
async handler (argv) {
// 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
// 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
delete argv.cov
}

Expand Down

0 comments on commit 9b35013

Please sign in to comment.