Skip to content

Commit

Permalink
test: skip tests if not process.features.inspector
Browse files Browse the repository at this point in the history
  • Loading branch information
pmarchini committed Aug 22, 2024
1 parent 550e731 commit 1cf8c89
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions test/parallel/test-runner-output.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -151,10 +151,10 @@ const tests = [
{ name: 'test-runner/output/test-runner-plan.js' },
process.features.inspector ? { name: 'test-runner/output/coverage_failure.js' } : false,
{ name: 'test-runner/output/test-diagnostic-warning-without-test-only-flag.js' },
{ name: 'test-runner/output/coverage-fixed-width-80.js' },
{ name: 'test-runner/output/coverage-fixed-width-100.js' },
{ name: 'test-runner/output/coverage-fixed-width-150.js' },
{ name: 'test-runner/output/coverage-fixed-width-infinity.js' },
process.features.inspector ? { name: 'test-runner/output/coverage-fixed-width-80.js' } : false,
process.features.inspector ? { name: 'test-runner/output/coverage-fixed-width-100.js' } : false,
process.features.inspector ? { name: 'test-runner/output/coverage-fixed-width-150.js' } : false,
process.features.inspector ? { name: 'test-runner/output/coverage-fixed-width-infinity.js' } : false,
]
.filter(Boolean)
.map(({ name, tty, transform }) => ({
Expand Down

0 comments on commit 1cf8c89

Please sign in to comment.