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

Function customCommand

packages/webdriverio/tests/addCommand.test.ts:78–82  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

76const error2 = new Error('Thrown 2!')
77
78const customCommand = async () => {
79 const result = await new Promise(
80 (resolve) => setTimeout(() => resolve('foo'), 1))
81 return result + 'bar'
82}
83
84describe('addCommand', () => {
85 describe('remote', () => {

Callers

nothing calls this directly

Calls 2

setTimeoutFunction · 0.85
resolveFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…