You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jul 30, 2020. It is now read-only.
it('should render the typed password',()=>{letlogin=render(<Login/>);constemailField=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
The text was updated successfully, but these errors were encountered:
I don't use TypeScript personally or in any projects I work on, so I pretty much rely on folks who use this library and TypeScript to make sure that the typings work and are as accurate as possible. I'd appreciate any contributions you make to improving them! 😄
Ohh, I do think those are related... I specified "getByTestId" because I starting using this library yesterday and I had only used that function so far hahahah
Uh oh!
There was an error while loading. Please reload this page.
react-native
orexpo
: exponative-testing-library
version:jest-preset
: exporeact-native
version: https://github.com/expo/react-native/archive/sdk-33.0.0.tar.gznode
version: 10.11.0Relevant code or config:
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
The text was updated successfully, but these errors were encountered: