Skip to content

Commit

Permalink
Fix accidental breakage of hasIsolatedTests in #53406
Browse files Browse the repository at this point in the history
  • Loading branch information
unstubbable committed Jul 25, 2024
1 parent 9a71b8b commit 459208b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions run-tests.js
Original file line number Diff line number Diff line change
Expand Up @@ -400,8 +400,7 @@ ${ENDGROUP}`)

const hasIsolatedTests = tests.some((test) => {
return configuredTestTypes.some(
(type) =>
type !== testFilters.unit && test.file.startsWith(`test/${type}`)
(type) => typeof type === 'string' && test.file.startsWith(type)
)
})

Expand Down

0 comments on commit 459208b

Please sign in to comment.