Alexey Romanov
Alexey Romanov
Just ran into this. Autofix shouldn't change behavior. I think extending options with `{ exact: true }` would be nicer because sometimes I want to check text content equals something...
The reason it would still be useful is packages which: 1. use this one as a dependency; 2. don't release new versions anymore, so they won't follow this advice; 3....
@justin808 Added summary.
@justin808 It's mostly about making our code simpler, and simplifying maintenance for the future. Obviously not _right_ now while HiChee isn't on React 18 yet. It will be more convenient...
@justin808 Added summary.
I have the same error with `@testing-library/[email protected]` and `@testing-library/[email protected]`. Stack trace: ``` Oops...we found an error preparing this test file: > cypress/support/e2e.js The error was: Error: Parsing file /node_modules/@testing-library/dom/dist/queries/role.js: Unexpected...
Can I ask what is the status on this PR? And if I can help with it, if needed, since React 19 is released now?
Should it also warn when using `userEvent.click(...)` and similar methods directly without `userEvent.setup()`?
The docs say > `userEvent.click()` (which will trigger setup internally) I thought it calls `userEvent.setup()` and so is equivalent to the code this rule would warn about. I guess 1....
@ArturAmpilogov The initial request mentions they are also available as `react-dates/lib/constants`. So you may want to add `lib/constants.d.ts` with `export * from 'react-dates/constants'`, similar to e.g. https://github.com/DefinitelyTyped/DefinitelyTyped/blob/787bc5c54807b30db609af291c7af99cfbe34df2/types/react-dates/lib/components/CalendarDay.d.ts.