import React from 'react' import { render, screen, fireEvent } from '@/test-utils' import userEvent from '@testing-library/user-event' import { CodeEditorSection } from '@/components/features/snippet-editor/CodeEditorSection' import { InputParameter } from '@/lib/types' // Mock the editor components jest.mock('@/components/features/snippet-editor/MonacoEditor', () => ({ MonacoEditor: ({ value, onChange }: any) => (