2023-03-07 00:56:35 +01:00
|
|
|
import React from 'react';
|
|
|
|
import { render } from '@testing-library/react';
|
|
|
|
import App from './App';
|
|
|
|
|
|
|
|
test('renders learn react link', () => {
|
2023-03-14 23:19:32 +01:00
|
|
|
const { getByText } = render(
|
|
|
|
<App />
|
|
|
|
);
|
2023-03-07 00:56:35 +01:00
|
|
|
|
2023-03-14 23:19:32 +01:00
|
|
|
expect(getByText(/recupera stato/i)).toBeInTheDocument();
|
2023-03-07 00:56:35 +01:00
|
|
|
});
|