import { h } from 'preact'; import { render } from '@testing-library/preact'; import { LoadingArticle } from '..'; describe('', () => { it('should render', () => { const { getByTitle } = render(); getByTitle('Loading posts...'); }); });