hoc.test.js 673 B

123456789101112131415161718192021222324
  1. import { Form } from '../../index';
  2. import { noop } from 'lodash';
  3. describe('Form-hoc', () => {
  4. beforeEach(() => {
  5. document.body.innerHTML = '';
  6. // Avoid `attachTo: document.body` Warning
  7. const div = document.createElement('div');
  8. div.setAttribute('id', 'container');
  9. document.body.appendChild(div);
  10. });
  11. afterEach(() => {
  12. const div = document.getElementById('container');
  13. if (div) {
  14. document.body.removeChild(div);
  15. }
  16. });
  17. it('withField', () => {});
  18. it('withField-shouldMemo:false', () => {});
  19. // it('withFormState', () => {});
  20. // it('withFormApi', () => {});
  21. });