diff --git a/example/typescript/src/app/App.test.tsx b/example/typescript/src/app/App.test.tsx index 68cf47a0..192e3ae4 100644 --- a/example/typescript/src/app/App.test.tsx +++ b/example/typescript/src/app/App.test.tsx @@ -1,9 +1,9 @@ +import '@testing-library/jest-dom'; import { render, screen } from '@testing-library/react'; import App from './App'; test('renders learn react link', () => { render(); const linkElement = screen.getByText(/learn react/i); - // @ts-ignore expect(linkElement).toBeInTheDocument(); }); diff --git a/example/typescript/src/index.tsx b/example/typescript/src/index.tsx index 3ca58845..b4b6bb23 100644 --- a/example/typescript/src/index.tsx +++ b/example/typescript/src/index.tsx @@ -1,4 +1,3 @@ -import ReactDOM from 'react-dom'; import App from './app/App'; import './index.css'; import reportWebVitals from './reportWebVitals';