MCPcopy Create free account
hub / github.com/ShipSecAI/studio / baseStatus

Function baseStatus

frontend/src/store/__tests__/executionStore.test.ts:73–82  ·  view source on GitHub ↗
(overrides: Partial<ExecutionStatusResponse> = {})

Source from the content-addressed store, hash-verified

71import type { ExecutionLog, ExecutionStatusResponse } from '@/schemas/execution';
72
73const baseStatus = (overrides: Partial<ExecutionStatusResponse> = {}): ExecutionStatusResponse => ({
74 runId: 'run-1',
75 workflowId: 'wf-1',
76 status: 'RUNNING',
77 startedAt: new Date().toISOString(),
78 updatedAt: new Date().toISOString(),
79 taskQueue: 'shipsec-default',
80 historyLength: 0,
81 ...overrides,
82});
83
84const event = (overrides: Partial<ExecutionLog> = {}): ExecutionLog => ({
85 id: overrides.id ?? Math.random().toString(16).slice(2),

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected