MCPcopy Index your code
hub / github.com/codeceptjs/CodeceptJS / countSkipped

Function countSkipped

lib/plugin/junitReporter.js:280–282  ·  view source on GitHub ↗
(tests)

Source from the content-addressed store, hash-verified

278}
279
280function countSkipped(tests) {
281 return tests.filter(t => t.state === 'skipped' || t.state === 'pending').length
282}
283
284function sumDuration(tests) {
285 return tests.reduce((sum, t) => sum + (t.duration || 0), 0)

Callers 1

buildXmlFunction · 0.85

Calls 1

filterMethod · 0.80

Tested by

no test coverage detected