Skip to content

Commit d71c274

Browse files
Copilothotlong
andcommitted
fix: address code review feedback - add descriptor count assertion and use fixed timestamp
Co-authored-by: hotlong <50353452+hotlong@users.noreply.github.com>
1 parent 58fc43d commit d71c274

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

packages/spec/src/automation/node-executor.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,7 @@ describe('Wait Executor — pause/resume scenario', () => {
242242
comments: 'All checks passed',
243243
},
244244
resumedBy: 'webhook_service',
245-
resumedAt: new Date().toISOString(),
245+
resumedAt: '2026-02-22T14:00:00Z',
246246
variables: {
247247
approval_status: 'approved',
248248
},

packages/spec/src/studio/flow-builder.test.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -243,6 +243,7 @@ describe('BUILT_IN_NODE_DESCRIPTORS', () => {
243243
expect(actions).toContain('loop');
244244
expect(actions).toContain('subflow');
245245
expect(actions).toContain('connector_action');
246+
expect(BUILT_IN_NODE_DESCRIPTORS).toHaveLength(18);
246247
});
247248

248249
it('should validate all built-in descriptors against schema', () => {

0 commit comments

Comments
 (0)