Ghost/ghost/sodo-search/src/App.test.js

10 lines
277 B
JavaScript
Raw Normal View History

2022-07-04 16:57:19 +03:00
import {render, screen} from '@testing-library/react';
import App from './App';
2022-07-04 16:55:30 +03:00
import React from 'react';
test('renders learn react link', () => {
2022-07-04 16:57:19 +03:00
render(<App />);
const linkElement = screen.getByText(/Sodo Search/i);
expect(linkElement).toBeInTheDocument();
});