MCPcopy Index your code
hub / github.com/SeleniumHQ/selenium / verifyFailure

Function verifyFailure

javascript/selenium-webdriver/test/remote_test.js:46–49  ·  view source on GitHub ↗
(e)

Source from the content-addressed store, hash-verified

44 })
45
46 function verifyFailure(e) {
47 assert.ok(!(e instanceof CancellationError))
48 assert.strictEqual('Server terminated early with status 1', e.message)
49 }
50
51 function expectFailure() {
52 throw Error('expected to fail')

Callers

nothing calls this directly

Calls 1

okMethod · 0.80

Tested by

no test coverage detected