MCPcopy Index your code
hub / github.com/simstudioai/sim / jobRow

Function jobRow

apps/sim/lib/logs/list-logs.test.ts:108–124  ·  view source on GitHub ↗
(overrides: Record<string, unknown> = {})

Source from the content-addressed store, hash-verified

106}
107
108function jobRow(overrides: Record<string, unknown> = {}) {
109 return {
110 id: 'job-log-1',
111 executionId: 'job-exec-1',
112 level: 'info',
113 status: 'success',
114 trigger: 'schedule',
115 startedAt: new Date('2026-01-01T00:00:05.000Z'),
116 endedAt: new Date('2026-01-01T00:00:06.000Z'),
117 totalDurationMs: 1000,
118 cost: { total: 0.2 },
119 createdAt: new Date('2026-01-01T00:00:05.000Z'),
120 jobTitle: 'Nightly report',
121 sortValue: new Date('2026-01-01T00:00:05.000Z'),
122 ...overrides,
123 }
124}
125
126function baseParams(overrides: Partial<ListLogsParams> = {}): ListLogsParams {
127 return {

Callers 1

list-logs.test.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected