MCPcopy Create free account
hub / github.com/UsefulSoftwareCo/executor / classify

Function classify

apps/desktop/src/main/sidecar-exit.test.ts:4–11  ·  view source on GitHub ↗
(overrides: Partial<SidecarExitInput> = {})

Source from the content-addressed store, hash-verified

2import { classifySidecarExit, type SidecarExitInput } from "./sidecar-exit";
3
4const classify = (overrides: Partial<SidecarExitInput> = {}) =>
5 classifySidecarExit({
6 code: null,
7 signal: null,
8 stoppedByUs: false,
9 appQuitting: false,
10 ...overrides,
11 });
12
13describe("classifySidecarExit", () => {
14 it("classifies the SIGTERM stopSidecar sends as a managed stop", () => {

Callers 1

Calls 1

classifySidecarExitFunction · 0.90

Tested by

no test coverage detected