Co-authored-by: Nick Taylor <nick@iamdeveloper.com> Co-authored-by: Ridhwana <Ridhwana.Khan16@gmail.com>
11 lines
287 B
JavaScript
11 lines
287 B
JavaScript
import { h } from 'preact';
|
|
import { render } from '@testing-library/preact';
|
|
import { LoadingArticle } from '..';
|
|
|
|
describe('<LoadingArticle />', () => {
|
|
it('should render', () => {
|
|
const { getByTitle } = render(<LoadingArticle />);
|
|
|
|
getByTitle('Loading posts...');
|
|
});
|
|
});
|