MCPcopy Index your code
hub / github.com/codeceptjs/CodeceptJS / endShellSession

Function endShellSession

bin/mcp-server.js:100–106  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

98}
99
100async function endShellSession() {
101 if (!shellSessionActive) return
102 try { event.emit(event.test.after, {}) } catch {}
103 try { event.emit(event.suite.after, {}) } catch {}
104 try { event.emit(event.all.result, {}) } catch {}
105 shellSessionActive = false
106}
107
108async function ensureSession() {
109 if (shellSessionActive || pausedController) return

Callers 2

closeBrowserFunction · 0.85
mcp-server.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected