mirror of
https://github.com/oceanprotocol/market.git
synced 2024-12-02 05:57:29 +01:00
* asset teaser test, story, useUserPreferences Jest mock * fixtures & mocks * more tests * cleanup * more tests * more tests * more tests * more tests * typing fix * package updates * reorg * more tests * more tests * more tests * more tests * reorg, more tests * reorg fixes * more tests * rebase fix * subgraph query typing fix * restore some storybook stories * more tests * more tests * package lock fix * graphql override
13 lines
365 B
TypeScript
13 lines
365 B
TypeScript
import { render } from '@testing-library/react'
|
|
import React from 'react'
|
|
import testRender from '../../../../.jest/testRender'
|
|
import SuccessConfetti from './index'
|
|
|
|
describe('@shared/SuccessConfetti', () => {
|
|
testRender(<SuccessConfetti success="Nice Success!" />)
|
|
|
|
it('renders without success', () => {
|
|
render(<SuccessConfetti success={null} />)
|
|
})
|
|
})
|