MCPcopy
hub / github.com/codeceptjs/CodeceptJS / stop

Method stop

lib/test-server.js:291–302  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

289 }
290
291 stop() {
292 return new Promise(resolve => {
293 if (this.server) {
294 this.server.close(() => {
295 console.log('Test server stopped')
296 resolve()
297 })
298 } else {
299 resolve()
300 }
301 })
302 }
303}
304
305export default TestServer

Callers 15

closeBrowsersFunction · 0.80
parseInputFunction · 0.80
test-server.jsFile · 0.80
catchFunction · 0.80
injectedFunction · 0.80
finalizeScreencastFunction · 0.80
clusterizeFunction · 0.80
analyzeFunction · 0.80
_failedMethod · 0.80
_passedMethod · 0.80
_passedMethod · 0.80
saveTraceForContextFunction · 0.80

Calls 2

resolveFunction · 0.85
logMethod · 0.80

Tested by

no test coverage detected