1
0
mirror of https://github.com/oceanprotocol/market.git synced 2024-11-15 01:34:57 +01:00
market/tests/unit/components/NProgress.test.tsx

11 lines
358 B
TypeScript
Raw Normal View History

2020-05-07 08:03:30 +02:00
import React from 'react'
import { render } from '@testing-library/react'
import NProgress from '../../../src/components/atoms/NProgress'
describe('NProgress', () => {
it('nprogress options can be passed', () => {
const { container } = render(<NProgress options={{ minimum: 2 } as any} />)
expect(container.firstChild).toBeInTheDocument()
})
})