mirror of
https://github.com/oceanprotocol/market.git
synced 2024-12-02 05:57:29 +01:00
11 lines
358 B
TypeScript
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()
|
|
})
|
|
})
|