import { act, cleanup, render } from '@testing-library/react' import React from 'react' import { beforeEach, describe, test } from 'vitest' import { useForm } from '../lib' import { DirectReturnInput, NumberField } from './blocks' import { Insight, Util } from './shared' beforeEach(cleanup) describe('Options', () => { test('Custom component props', async () => { function Component() { const { form, field } = useForm({ foo: 5 }) return (