eslint-plugin-testing-library

ESLint plugin to follow best practices and anticipate common mistakes when writing tests with Testing Library

MIT License

Downloads
23.7M
Stars
952
Committers
66

Bot releases are visible (Hide)

eslint-plugin-testing-library - v6.0.0-alpha.13

Published by github-actions[bot] about 2 years ago

6.0.0-alpha.13 (2022-10-14)

Bug Fixes

eslint-plugin-testing-library - v6.0.0-alpha.12

Published by github-actions[bot] about 2 years ago

6.0.0-alpha.12 (2022-10-05)

Bug Fixes

  • await-async-event: pluralize to await-async-events (#670) (7238f76)
eslint-plugin-testing-library - v6.0.0-alpha.11

Published by github-actions[bot] about 2 years ago

6.0.0-alpha.11 (2022-10-05)

Features

  • await-async-query: rename to await-async-queries (#665) (c1803df)

BREAKING CHANGES

  • await-async-query: await-async-query is now called await-async-queries
eslint-plugin-testing-library - v6.0.0-alpha.10

Published by github-actions[bot] about 2 years ago

6.0.0-alpha.10 (2022-10-05)

Features

  • no-await-sync-events: add to DOM, Angular & React configs by default (#667) (afce5ea)

BREAKING CHANGES

  • no-await-sync-events: no-await-sync-events is now enabled by default in the DOM, Angular & React configs
eslint-plugin-testing-library - v6.0.0-alpha.9

Published by github-actions[bot] about 2 years ago

6.0.0-alpha.9 (2022-10-05)

Features

  • no-await-sync-query: rename to no-await-sync-queries (#666) (7ed3da8)

BREAKING CHANGES

  • no-await-sync-query: no-await-sync-query is now called no-await-sync-queries
eslint-plugin-testing-library - v6.0.0-alpha.8

Published by github-actions[bot] about 2 years ago

6.0.0-alpha.8 (2022-10-03)

Features

  • no-debugging-utils: enable all debug methods in all configs by default (#663) (e394ce09), closes #621

BREAKING CHANGES

  • no-debugging-utils now enables all debug methods in all configs by default
eslint-plugin-testing-library - v6.0.0-alpha.7

Published by github-actions[bot] about 2 years ago

6.0.0-alpha.7 (2022-10-03)

Features

  • no-debugging-utils: warn instead of error in all configs (#662) (8063f8f6), closes #622
eslint-plugin-testing-library - v6.0.0-alpha.6

Published by github-actions[bot] about 2 years ago

6.0.0-alpha.6 (2022-10-02)

Features

BREAKING CHANGES

  • no-node-access is now enabled by default in the DOM config
eslint-plugin-testing-library - v6.0.0-alpha.5

Published by github-actions[bot] about 2 years ago

6.0.0-alpha.5 (2022-10-02)

Features

eslint-plugin-testing-library - v6.0.0-alpha.4

Published by github-actions[bot] about 2 years ago

6.0.0-alpha.4 (2022-10-02)

Features

  • no-global-regexp-flag-in-query: add to all configs by default (#660) (c76a7bfa), closes #618
  • await-fire-event: rename to await-async-event + add support for user-event (#652) (b4ce9bb2), closes #626

BREAKING CHANGES

  • no-global-regexp-flag-in-query is enabled by default in all config
  • await-fire-event is now called await-async-event
eslint-plugin-testing-library - v6.0.0-alpha.3

Published by github-actions[bot] about 2 years ago

6.0.0-alpha.3 (2022-10-02)

Features

  • no-manual-cleanup: add to React & Vue configs by default (#659) (8f6ebf56), closes #617

BREAKING CHANGES

  • no-manual-cleanup is now enabled by default in the React & Vue configs
eslint-plugin-testing-library - v6.0.0-alpha.2

Published by github-actions[bot] about 2 years ago

6.0.0-alpha.2 (2022-09-20)

Features

  • no-render-in-setup: rename to no-render-in-lifecycle (#649) (9acba430), closes #625

BREAKING CHANGES

  • no-render-in-setup is now called no-render-in-lifecycle
eslint-plugin-testing-library - v6.0.0-alpha.1

Published by github-actions[bot] about 2 years ago

6.0.0-alpha.1 (2022-09-19)

Features

BREAKING CHANGES

  • prefer-wait-for is now removed
eslint-plugin-testing-library - v5.7.2

Published by github-actions[bot] about 2 years ago

5.7.2 (2022-10-02)

Bug Fixes

  • no-node-access: false positives with props.children (#658) (5f4287f)
eslint-plugin-testing-library - v5.7.1

Published by github-actions[bot] about 2 years ago

5.7.1 (2022-10-02)

Bug Fixes

  • no-dom-imports: false negatives with several testing library imports (#657) (0ae1f25)
eslint-plugin-testing-library - v5.7.0

Published by github-actions[bot] about 2 years ago

5.7.0 (2022-09-23)

Features

  • no-node-access: report childElementCount prop (#650) (3463a2c)
eslint-plugin-testing-library - v5.6.4

Published by github-actions[bot] about 2 years ago

5.6.4 (2022-09-13)

Bug Fixes

  • no-wait-for-side-effects: false positive inside .then() (#645) (fc6ccf8), closes #500
eslint-plugin-testing-library - v5.6.3

Published by github-actions[bot] about 2 years ago

5.6.3 (2022-09-09)

Bug Fixes

  • consistent-data-testid: avoid crash for filename with square brackets (#643) (48b19d5), closes #509
eslint-plugin-testing-library - v5.6.2

Published by github-actions[bot] about 2 years ago

5.6.2 (2022-09-07)

Bug Fixes

  • no-await-sync-events: false positive for delay from vars (#641) (3c2cbbd), closes #403
eslint-plugin-testing-library - v5.6.1

Published by github-actions[bot] about 2 years ago

5.6.1 (2022-09-03)

Bug Fixes

  • prefer-query-by-disappearance: improve error position (#639) (df3d647)