12 lines
433 B
TypeScript
12 lines
433 B
TypeScript
import { render, screen } from '@testing-library/react'
|
|
import React from 'react'
|
|
import Bookmark from './Bookmark'
|
|
import { datasetAquarius } from '../../../../.jest/__fixtures__/datasetAquarius'
|
|
|
|
describe('src/components/Asset/AssetContent/Bookmark.tsx', () => {
|
|
it('renders Add Bookmark button', () => {
|
|
render(<Bookmark did={datasetAquarius.id} />)
|
|
expect(screen.getByTitle('Add Bookmark')).toBeInTheDocument()
|
|
})
|
|
})
|