1
0
mirror of https://github.com/oceanprotocol/market.git synced 2024-11-15 09:44:53 +01:00
market/tests/unit/components/NProgress.test.tsx
2020-05-07 09:03:30 +03:00

11 lines
358 B
TypeScript

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()
})
})