Tags: andipaetzold/eslint-plugin-testing-library
Tags
fix(await-async-events): sync userEvent.setup() should not be reported ( testing-library#817) Fixes testing-library#800 Co-authored-by: Justin Toman <--global>
fix(prefer-presence-queries): ignore `getBy*` inside `within` for on … …absence queries (testing-library#740) * fix: ignore getBy inside of within for prefer-presence-queries on absence queries * docs: within treatment in prefer-presence-queries --------- Co-authored-by: Mario Beltrán <belco90@gmail.com>
feat: add `prefer-query-matchers` rule (testing-library#750) * feat: add prefer-query-matchers rule Co-authored-by: Dale Karp <dale.karp@testdouble.com> * test: cover prefer-query-matchers with test Co-authored-by: Dale Karp <dale.karp@testdouble.com> * feat: set default options to no configured entries to check for Co-authored-by: Dale Karp <dale.karp@testdouble.com> * docs: add query doc and supported rules table entry * style: prettify rule file * fix: do not include prefer-query-matchers by default * fix: failing test * fix: make generated tests more realistic AST * fix: comment out test names --------- Co-authored-by: Dale Karp <dale.karp@testdouble.com>
fix(deps): update dependencies to latest minor (testing-library#753) fix(deps): update dependencies to latest minor
fix(await-async-utils): false positive when destructuring (testing-li… …brary#722)
feat(consistent-data-testid): add support for custom error message (t… …esting-library#719) Closes testing-library#718 * feat(consistent-data-testid): add support for custom message in the rule configuration * feat(consistent-data-testid): update docs * feat(consistent-data-testid): use undefined as default value for customMessage * feat(consistent-data-testid): add comment to test case Co-authored-by: Patrick Ahmetovic <patrick.ahmetovic@prescreen.io>
PreviousNext