import { mount } from 'enzyme'; import React from 'react'; import { act } from 'react-dom/test-utils'; import Form from '..'; import { sleep } from '../../../tests/utils'; import Input from '../../input'; import type { FormListOperation } from '../FormList'; describe('Form.List.NoStyle', () => { it('nest error should clean up', async () => { jest.useFakeTimers(); let operation: FormListOperation; const wrapper = mount(