MCPcopy Create free account
hub / github.com/webdriverio/webdriverio / onSpecPass

Method onSpecPass

packages/wdio-cli/src/interface.ts:131–133  ·  view source on GitHub ↗
(rid: string, job?: Workers.Job, retries = 0)

Source from the content-addressed store, hash-verified

129 }
130
131 onSpecPass(rid: string, job?: Workers.Job, retries = 0) {
132 this.onJobComplete(rid, job, retries, chalk.bold(chalk.green('PASSED')))
133 }
134
135 onSpecFailure(rid: string, job?: Workers.Job, retries = 0) {
136 this.onJobComplete(rid, job, retries, chalk.bold(chalk.red('FAILED')))

Callers 1

clearJobMethod · 0.95

Calls 2

onJobCompleteMethod · 0.95
boldMethod · 0.80

Tested by

no test coverage detected