MCPcopy Create free account
hub / github.com/easydiffusion/easydiffusion / hasActiveSpec

Function hasActiveSpec

ui/plugins/ui/jasmine/jasmine-html.js:720–732  ·  view source on GitHub ↗
(resultNode)

Source from the content-addressed store, hash-verified

718 }
719
720 function hasActiveSpec(resultNode) {
721 if (resultNode.type == "spec" && resultNode.result.status != "excluded") {
722 return true
723 }
724
725 if (resultNode.type == "suite") {
726 for (let i = 0, j = resultNode.children.length; i < j; i++) {
727 if (hasActiveSpec(resultNode.children[i])) {
728 return true
729 }
730 }
731 }
732 }
733 }
734
735 return HtmlReporter

Callers 1

summaryListFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected