Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/SeleniumHQ/selenium
/ wrap
Function
wrap
javascript/selenium-webdriver/testing/index.js:521–529 ·
view source on GitHub ↗
(onSkip, onRun)
Source
from the content-addressed store, hash-verified
519
return
{ describe, it }
520
521
function
wrap(onSkip, onRun) {
522
return
function
(...args) {
523
if
(predicateFn()) {
524
onSkip(...args)
525
}
else
{
526
onRun(...args)
527
}
528
}
529
}
530
}
531
532
/**
Callers
1
ignore
Function · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected