Skip to content

Commit

Permalink
Add Provider test and cleanup jest configs
Browse files Browse the repository at this point in the history
  • Loading branch information
erik_ritter committed Dec 3, 2021
1 parent f9a9a68 commit d8743ec
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 22 deletions.
22 changes: 0 additions & 22 deletions packages/hooks/jest.config.js

This file was deleted.

11 changes: 11 additions & 0 deletions packages/hooks/src/Provider.test.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
import React from 'react';
import { render } from '@testing-library/react';

import { Provider } from './Provider';

describe('Provider', () => {
it('renders without throwing', () => {
const { container } = render(<Provider network='rinkeby' />);
expect(container).toBeInTheDocument();
});
});

0 comments on commit d8743ec

Please sign in to comment.