Testing Library
@TestingLib
Libraries, utilities, and tools to enable you to write tests that resemble the way your software is used. @ReactJS, @VueJS, @Cypress_IO, @angular, @fbjest, more
ID:1121512582706188288
http://testing-library.com 25-04-2019 20:33:31
392 Tweets
11,4K Followers
11 Following
π ππ
A new major version of React Testing Library was released (15.0.0) - This release drops support for Node 14, Node 16 and most importantly, adds support for new ARIA roles defined as part of WAI-ARIA 1.2.
If you have any feedback or issues, feel free to reach out.
We're really happy to officially have the Solid Testing Library as part of our ecosystem now. Many thanks to Daniel Afonso for pushing it!
Here's an opportunity to contribute to Testing Library's jest-dom π¦ and dive into the world of accessibility: Create the toBeActiveDescendant custom matcher. Your chance to learn and make a positive impact awaits.
π€ Check it out github.com/testing-librarβ¦
π¨ Implementation detail π¨
Lately, I've been seeing this pattern for testing async stuff. This pattern creates a new promise and awaits for it to resolve.
This means we'll wait for all async operations to finish.
Prefer Testing Library waitFor with a meaningful assertion.
This is a great write-up on a migration from enzyme to Testing Library: blog.sentry.io/2023/02/23/senβ¦
Test your React Components with
Nightwatch.js and Testing Library: labs.pineview.io/test-your-reacβ¦
React Testing Library v13 with support for React 18 is now released.
Upgrade now if your app is using React 18.
npmjs.com/package/@testiβ¦
Many thanks Sebastian Silbermann for the hard work on this release!
The documentation for Testing Library's user-event has been updated.
If you are actively working on a project, we recommend to switch to `v14-beta` now. π
Check it out! π
testing-library.com/user-event
So eslint-plugin-testing-library v5 has been just released! Including support for ESLint v8. Make sure you check the breaking changes before upgrading: github.com/testing-librarβ¦
Huge thanks to MichaΓ«l De Boey who really pushed things forward to get this new version published.