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

Function mkStartFunc

javascript/selenium-webdriver/test/proxy_test.js:86–90  ·  view source on GitHub ↗
(server)

Source from the content-addressed store, hash-verified

84 // Cannot pass start directly to mocha's before, as mocha will interpret the optional
85 // port parameter as an async callback parameter.
86 function mkStartFunc(server) {
87 return function () {
88 return server.start()
89 }
90 }
91
92 before(mkStartFunc(proxyServer))
93 before(mkStartFunc(helloServer))

Callers 1

proxy_test.jsFile · 0.85

Calls 1

startMethod · 0.65

Tested by

no test coverage detected