1
0
mirror of https://github.com/oceanprotocol/market.git synced 2024-11-15 01:34:57 +01:00
market/tests/unit/context/Web3Provider.test.tsx
2020-05-07 09:03:30 +03:00

11 lines
342 B
TypeScript

import React from 'react'
import { render } from '@testing-library/react'
import Web3Provider from '../../../src/context/Web3Provider'
describe('Web3Provider', () => {
it('renders without crashing', () => {
const { container } = render(<Web3Provider>Children</Web3Provider>)
expect(container).toHaveTextContent('Children')
})
})