MCPcopy
hub / github.com/deepnote/deepnote / createMockChildProcess

Function createMockChildProcess

packages/cli/src/utils/browser.test.ts:18–21  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

16
17// Helper to create a mock child process
18function createMockChildProcess(): ChildProcess & EventEmitter {
19 const emitter = new EventEmitter()
20 return emitter as ChildProcess & EventEmitter
21}
22
23describe('browser', () => {
24 beforeEach(() => {

Callers 1

browser.test.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected