Este es un archivo de prueba para el componente de la aplicación:
import { render } from '@testing-library/react'; import App from './App'; describe('App', () => { it('should render App successfully', () => { const { container } = render(<App />); expect(container).toBeInTheDocument(); }); });Cuando se ejecuta, falla con el siguiente mensaje:
SyntaxError: Unexpected token '.' 1 | import React from 'react'; 2 | import ListItem from '@material-ui/core/ListItem'; > 3 | import './currency.css'; | ^ 4 |¿Qué ocurre?