Skip to content

Commit

Permalink
Merge pull request #59 from etr2460/erik-ritter--jest-cleanup
Browse files Browse the repository at this point in the history
Add Provider test and cleanup jest configs
  • Loading branch information
Erik Ritter authored Dec 3, 2021
2 parents f9a9a68 + d8743ec commit 1545e27
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 1545e27

Please sign in to comment.