0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-06 22:40:14 -05:00
ghost/apps/comments-ui/src/App.test.js
2022-07-19 16:46:16 +02:00

8 lines
290 B
JavaScript

import {render} from '@testing-library/react';
import App from './App';
test('renders the auth frame', () => {
const {container} = render(<App />);
const iframeElement = container.querySelector('iframe[data-frame="admin-auth"]');
expect(iframeElement).toBeInTheDocument();
});