This repository was archived by the owner on Jul 30, 2020. It is now read-only.

Description
Relevant code or config:
it('should render the typed password', () => {
let login = render(<Login />);
const emailField = login.findAllByTestId('login_email');
//TODO
});
What happened:
I get a typescript error saying: "login_email" is not compatible with type 'MatcherOptions | undefined'.
Issue
I read the source code... and the example in the documentations, and I think that the right type for this function's argument should be Match, as declared in matches.d.ts
Workaround
If I write 'login_email' as any, it works normally