Skip to content

Commit

Permalink
Update FormProvider.test.tsx
Browse files Browse the repository at this point in the history
  • Loading branch information
nikhilag committed Apr 13, 2021
1 parent 1502869 commit 4bce840
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions test/FormProvider.test.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
import * as React from 'react';
import * as ReactDOM from 'react-dom';
import { FormProvider } from '../src';

describe('it', () => {
it('renders without crashing', () => {
const div = document.createElement('div');
ReactDOM.render(
<FormProvider>
<div></div>
</FormProvider>,
div
);
ReactDOM.unmountComponentAtNode(div);
});
});

0 comments on commit 4bce840

Please sign in to comment.