mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-01-06 22:40:14 -05:00
8 lines
290 B
JavaScript
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();
|
|
});
|