feat(core): Add support for $("NodeName").isExecuted (#8683)

This commit is contained in:
Jan Oberhauser
2024-02-20 18:25:04 +01:00
committed by GitHub
parent e2f2fc910d
commit ad82f0c0c8
2 changed files with 10 additions and 6 deletions

View File

@@ -294,8 +294,9 @@ describe('WorkflowDataProxy', () => {
expect(() => proxy.$('doNotExist')).toThrowError(ExpressionError);
});
test('$("NodeName")', () => {
expect(() => proxy.$('Set')).toThrowError(ExpressionError);
test('test $("NodeName").isExecuted', () => {
expect(proxy.$('Function').isExecuted).toEqual(true);
expect(proxy.$('Set').isExecuted).toEqual(false);
});
test('test $input.all()', () => {