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