import React from 'react' import { render } from '@toptal/picasso-test-utils' import { FormCompound as Form } from '../FormCompound' import { NumberInput, type Props } from './NumberInput' const numberInputMock = jest.fn() jest.mock('@toptal/picasso-number-input', () => ({ ...jest.requireActual('@toptal/picasso-number-input'), NumberInput: (props: any) => numberInputMock(props), })) const renderFormWithNumberInput = (props: Props) => render(