MCPcopy Create free account
hub / github.com/tiann/hapi / loop.test.ts

File loop.test.ts

cli/src/claude/loop.test.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import { describe, expect, it, vi } from 'vitest'
2
3const runLocalRemoteSessionMock = vi.hoisted(() => vi.fn(async (options: { session: { stopKeepAlive: () => void } }) => {
4 options.session.stopKeepAlive()

Callers

nothing calls this directly

Calls 2

loopFunction · 0.90
stopKeepAliveMethod · 0.80

Tested by

no test coverage detected