fix(editor): Only show previews if the param is an expression (#14720)

Co-authored-by: Elias Meire <elias@meire.dev>
This commit is contained in:
Dana
2025-04-24 09:08:43 +02:00
committed by GitHub
parent 022f4755c2
commit db887b6f29
6 changed files with 24 additions and 19 deletions

View File

@@ -62,4 +62,11 @@ describe('Assignment.vue', () => {
expect(emitted('remove')).toEqual([[]]);
});
it('should not display parameter input hint if expressionOutput is not set', () => {
const { getByTestId } = renderComponent();
// Check if the parameter input hint is not displayed
expect(() => getByTestId('parameter-input-hint')).toThrow();
});
});