Skip to content

Commit f970c8a

Browse files
matthvclaude
andcommitted
style(workflow-executor): fix prettier formatting in tests
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 61abf3c commit f970c8a

2 files changed

Lines changed: 31 additions & 6 deletions

File tree

packages/workflow-executor/test/executors/mcp-step-executor.test.ts

Lines changed: 21 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,11 @@ describe('McpStepExecutor', () => {
145145
expect.objectContaining({
146146
type: 'mcp',
147147
stepIndex: 0,
148-
executionParams: { name: 'send_notification', sourceId: 'mcp-server-1', input: { message: 'Hello' } },
148+
executionParams: {
149+
name: 'send_notification',
150+
sourceId: 'mcp-server-1',
151+
input: { message: 'Hello' },
152+
},
149153
executionResult: { success: true, toolResult: { result: 'notification sent' } },
150154
}),
151155
);
@@ -292,7 +296,11 @@ describe('McpStepExecutor', () => {
292296
expect.objectContaining({
293297
type: 'mcp',
294298
stepIndex: 0,
295-
pendingData: { name: 'send_notification', sourceId: 'mcp-server-1', input: { message: 'Hello' } },
299+
pendingData: {
300+
name: 'send_notification',
301+
sourceId: 'mcp-server-1',
302+
input: { message: 'Hello' },
303+
},
296304
}),
297305
);
298306
});
@@ -350,7 +358,11 @@ describe('McpStepExecutor', () => {
350358
'run-1',
351359
expect.objectContaining({
352360
type: 'mcp',
353-
executionParams: { name: 'send_notification', sourceId: 'mcp-server-1', input: { message: 'Hello' } },
361+
executionParams: {
362+
name: 'send_notification',
363+
sourceId: 'mcp-server-1',
364+
input: { message: 'Hello' },
365+
},
354366
executionResult: { success: true, toolResult: 'email sent' },
355367
pendingData: {
356368
name: 'send_notification',
@@ -467,7 +479,12 @@ describe('McpStepExecutor', () => {
467479
const execution: McpStepExecutionData = {
468480
type: 'mcp',
469481
stepIndex: 0,
470-
pendingData: { name: 'deleted_tool', sourceId: 'mcp-server-1', input: {}, userConfirmed: true },
482+
pendingData: {
483+
name: 'deleted_tool',
484+
sourceId: 'mcp-server-1',
485+
input: {},
486+
userConfirmed: true,
487+
},
471488
};
472489
const tool = new MockRemoteTool({ name: 'other_tool', sourceId: 'mcp-server-1' });
473490
const runStore = makeMockRunStore({

packages/workflow-executor/test/executors/step-execution-formatters.test.ts

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,11 @@ describe('StepExecutionFormatters', () => {
6969
const execution: StepExecutionData = {
7070
type: 'mcp',
7171
stepIndex: 2,
72-
executionParams: { name: 'search_records', sourceId: 'mcp-server-1', input: { query: 'foo' } },
72+
executionParams: {
73+
name: 'search_records',
74+
sourceId: 'mcp-server-1',
75+
input: { query: 'foo' },
76+
},
7377
executionResult: {
7478
success: true,
7579
toolResult: { items: [] },
@@ -84,7 +88,11 @@ describe('StepExecutionFormatters', () => {
8488
const execution: StepExecutionData = {
8589
type: 'mcp',
8690
stepIndex: 2,
87-
executionParams: { name: 'search_records', sourceId: 'mcp-server-1', input: { query: 'foo' } },
91+
executionParams: {
92+
name: 'search_records',
93+
sourceId: 'mcp-server-1',
94+
input: { query: 'foo' },
95+
},
8896
executionResult: { success: true, toolResult: { items: [] } },
8997
};
9098

0 commit comments

Comments
 (0)