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

Function startShellSession

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

Source from the content-addressed store, hash-verified

81}
82
83async function startShellSession() {
84 if (shellSessionActive) return
85 await ensureBootstrap()
86 recorder.start()
87 event.emit(event.suite.before, {
88 fullTitle: () => 'MCP Session',
89 tests: [],
90 retries: () => {},
91 })
92 event.emit(event.test.before, {
93 title: 'MCP Session',
94 artifacts: {},
95 retries: () => {},
96 })
97 shellSessionActive = true
98}
99
100async function endShellSession() {
101 if (!shellSessionActive) return

Callers 2

ensureSessionFunction · 0.85
mcp-server.jsFile · 0.85

Calls 2

ensureBootstrapFunction · 0.85
startMethod · 0.45

Tested by

no test coverage detected