docbrown/app/javascript/articles/__tests__/ArticleLoading.test.jsx
Nick Taylor 653ec12300
Upgrade to Preact 10.4.4 (#8739)
Co-authored-by: Nick Taylor <nick@iamdeveloper.com>
Co-authored-by: Ridhwana <Ridhwana.Khan16@gmail.com>
2020-06-18 10:07:17 -04:00

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...');
});
});