Skip to content

Commit

Permalink
wip: adjust tests
Browse files Browse the repository at this point in the history
  • Loading branch information
burivuhster committed Jan 17, 2025
1 parent 2666cf2 commit a4d5cb9
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions packages/core/test/WorkflowExecutionMetadata.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -204,15 +204,12 @@ describe('Execution Metadata functions', () => {
},
} as IRunExecutionData;

setWorkflowExecutionMetadata(
executionData,
'test1',
'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaab',
);
const longValue = 'a'.repeat(513);

setWorkflowExecutionMetadata(executionData, 'test1', longValue);

expect(metadata).toEqual({
test1:
'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa',
test1: longValue.slice(0, 512),
});
});
});

0 comments on commit a4d5cb9

Please sign in to comment.