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 hidden (Show)

eslint-plugin-testing-library - v5.0.0-alpha.1

Published by MichaelDeBoey about 3 years ago

5.0.0-alpha.1 (2021-09-06)

chore

BREAKING CHANGES

  • Requires Node@^12.22.x || ^14.17.x || >=16.x
eslint-plugin-testing-library - v3.10.1

Published by Belco90 almost 4 years ago

3.10.1 (2020-11-19)

Bug Fixes

  • prefer-explicit-assert: handle valid getBy* without expect (#257) (b289638)
eslint-plugin-testing-library - v3.10.0

Published by Belco90 almost 4 years ago

3.10.0 (2020-10-29)

Features

eslint-plugin-testing-library - v3.9.2

Published by Belco90 about 4 years ago

3.9.2 (2020-10-16)

Bug Fixes

  • prefer-explicit-assert: only enforce assertion when presence/absence matcher (#238) (f78720d), closes #218
eslint-plugin-testing-library - v3.9.1

Published by Belco90 about 4 years ago

3.9.1 (2020-10-12)

Bug Fixes

eslint-plugin-testing-library - v3.9.0

Published by Belco90 about 4 years ago

3.9.0 (2020-09-20)

Features

eslint-plugin-testing-library - v3.8.0

Published by Belco90 about 4 years ago

3.8.0 (2020-08-31)

Features

eslint-plugin-testing-library - v3.7.0

Published by Belco90 about 4 years ago

3.7.0 (2020-08-22)

Features

  • prefer-explicit-assert: add 'assertion' config option (#220) (dddf405), closes #218
eslint-plugin-testing-library - v3.6.0

Published by Belco90 about 4 years ago

3.6.0 (2020-08-10)

Features

  • consistent-data-testid: add support for multiple test id attributes (#211) (65d9c34)
eslint-plugin-testing-library - v3.5.0

Published by Belco90 about 4 years ago

3.5.0 (2020-08-10)

Features

eslint-plugin-testing-library - v3.4.1

Published by Belco90 about 4 years ago

3.4.1 (2020-08-05)

Bug Fixes

eslint-plugin-testing-library - v3.4.0

Published by Belco90 about 4 years ago

3.4.0 (2020-07-29)

Features

  • prefer-screen-queries: allow baseElement and container (#201) (b6fcc42), closes #188
eslint-plugin-testing-library - v3.3.2

Published by Belco90 about 4 years ago

3.3.2 (2020-07-20)

Bug Fixes

  • include findBy variable declaration to prefer-find-by when auto fixing (#197) (993fd8c)
eslint-plugin-testing-library - v3.3.1

Published by Belco90 over 4 years ago

3.3.1 (2020-06-18)

Bug Fixes

eslint-plugin-testing-library - v3.3.0

Published by Belco90 over 4 years ago

3.3.0 (2020-06-13)

Features

eslint-plugin-testing-library - v3.2.3

Published by Belco90 over 4 years ago

3.2.3 (2020-06-12)

Bug Fixes

  • guard against wait utils without callback (#161) (6b8f627)
eslint-plugin-testing-library - v3.2.2

Published by Belco90 over 4 years ago

3.2.2 (2020-06-11)

Bug Fixes

  • prefer-screen-queries: revert "take container into account" (#157) (1850851), closes #156
eslint-plugin-testing-library - v3.2.1

Published by Belco90 over 4 years ago

3.2.1 (2020-06-10)

Bug Fixes

  • prefer-screen-queries: take container into account (#150) (a783036)
  • prefer-wait-for: only report when imported from TL (#152) (b80accf)
eslint-plugin-testing-library - v3.2.0

Published by Belco90 over 4 years ago

3.2.0 (2020-06-03)

Features

eslint-plugin-testing-library - v3.1.4

Published by Belco90 over 4 years ago

3.1.4 (2020-05-29)

Bug Fixes

  • correct consistent-data-testid docs example (#146) (8065cc3)