I am using React Testing Library. Whenever, I try to import a class into the testing file, it gives an error stating:

```
No overload matches this call.
  Overload 1 of 2, '(props: Readonly<RouteComponentProps<{}, StaticContext, PoorMansUnknown> & { onSave: (post: { fullName: string; title: string; body: string; createdAt: string; updatedAt: string; }) => void; } & RouteComponentProps<...>>): NewQuestion', gave the following error.
    Type '{}' is missing the following properties from type 'Readonly<RouteComponentProps<{}, StaticContext, PoorMansUnknown> & { onSave: (post: { fullName: string; title: string; body: string; createdAt: string; updatedAt: string; }) => void; } & RouteComponentProps<...>>': history, location, match, onSave
  Overload 2 of 2, '(props: RouteComponentProps<{}, StaticContext, PoorMansUnknown> & { onSave: (post: { fullName: string; title: string; body: string; createdAt: string; updatedAt: string; }) => void; } & RouteComponentProps<...>, context?: any): NewQuestion', gave the following error.

```

The application is working absolutely fine and I am only having issues while writing the tests.

And my test file is this:

```
import Abc from './Abc'
import { render, cleanup, fireEvent } from "react-testing-library";
import React from 'react';
import '@testing-library/jest-dom/extend-expect';

test (' Abc', ()=> {
const { getByPlaceholderText, getByText } = render(<NewQuestion />);}) 

```

I get an error in the last line on the "NewQuestion part".