MCPcopy Create free account
hub / github.com/SeleniumHQ/selenium / assertErrback

Function assertErrback

javascript/selenium-webdriver/test/lib/testutil.js:60–66  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

58 }
59
60 function assertErrback() {
61 assert.ok(!callback.called, 'callback called')
62 assert.ok(errback.called, 'errback not called')
63 if (errback.threw()) {
64 throw errback.exceptions[0]
65 }
66 }
67
68 function assertNeither() {
69 assert.ok(!callback.called, 'callback called')

Callers

nothing calls this directly

Calls 1

okMethod · 0.80

Tested by

no test coverage detected