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

Function event

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

Source from the content-addressed store, hash-verified

82});
83
84const event = (overrides: Partial<ExecutionLog> = {}): ExecutionLog => ({
85 id: overrides.id ?? Math.random().toString(16).slice(2),
86 runId: 'run-1',
87 nodeId: 'node-1',
88 type: 'STARTED',
89 level: 'info',
90 timestamp: new Date().toISOString(),
91 ...overrides,
92});
93
94beforeEach(() => {
95 useExecutionStore.getState().reset();

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected