12 lines
364 B
TypeScript
12 lines
364 B
TypeScript
|
import React from 'react'
|
||
|
import { render } from 'react-testing-library'
|
||
|
import Publish from '.'
|
||
|
|
||
|
describe('Progress', () => {
|
||
|
it('renders without crashing', () => {
|
||
|
const { container, getByText } = render(<Publish />)
|
||
|
expect(container.firstChild).toBeInTheDocument()
|
||
|
expect(getByText('Next →')).toHaveAttribute('disabled')
|
||
|
})
|
||
|
})
|