mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 10:02:05 +00:00
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:
@@ -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();
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user