mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-02-03 23:00:14 -05:00
Added temporary working test
This commit is contained in:
parent
4b504130d8
commit
98486d159b
1 changed files with 5 additions and 5 deletions
|
@ -1,8 +1,8 @@
|
|||
import {render, screen} from '@testing-library/react';
|
||||
import {render} from '@testing-library/react';
|
||||
import App from './App';
|
||||
|
||||
test('renders learn react link', () => {
|
||||
render(<App />);
|
||||
const linkElement = screen.getByText(/hello world/i);
|
||||
expect(linkElement).toBeInTheDocument();
|
||||
test('renders the auth frame', () => {
|
||||
const {container} = render(<App />);
|
||||
const iframeElement = container.querySelector('iframe[data-frame="admin-auth"]');
|
||||
expect(iframeElement).toBeInTheDocument();
|
||||
});
|
||||
|
|
Loading…
Add table
Reference in a new issue