Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/codeceptjs/CodeceptJS
/ countState
Function
countState
lib/plugin/junitReporter.js:276–278 ·
view source on GitHub ↗
(tests, state)
Source
from the content-addressed store, hash-verified
274
}
275
276
function
countState(tests, state) {
277
return
tests.filter(t => t.state === state).length
278
}
279
280
function
countSkipped(tests) {
281
return
tests.filter(t => t.state ===
'skipped'
|| t.state ===
'pending'
).length
Callers
1
buildXml
Function · 0.85
Calls
1
filter
Method · 0.80
Tested by
no test coverage detected