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

Function skipReason

lib/plugin/junitReporter.js:270–274  ·  view source on GitHub ↗
(test)

Source from the content-addressed store, hash-verified

268}
269
270function skipReason(test) {
271 if (test.opts && test.opts.skipInfo && test.opts.skipInfo.message) return test.opts.skipInfo.message
272 if (test.meta && test.meta.skipReason) return test.meta.skipReason
273 return ''
274}
275
276function countState(tests, state) {
277 return tests.filter(t => t.state === state).length

Callers 1

buildTestCaseFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected