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

Function checkError

javascript/selenium-webdriver/test/lib/http_test.js:496–504  ·  view source on GitHub ↗
(type, message)

Source from the content-addressed store, hash-verified

494 }
495
496 function checkError(type, message) {
497 return function (e) {
498 if (e instanceof type) {
499 assert.strictEqual(e.message, message)
500 } else {
501 throw e
502 }
503 }
504 }
505
506 function assertSent(method, path, data, headers) {
507 assert.ok(

Callers 1

http_test.jsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected