testing-library-docs icon indicating copy to clipboard operation
testing-library-docs copied to clipboard

docs site for @testing-library/*

Results 93 testing-library-docs issues
Sort by recently updated
recently updated
newest added

In https://github.com/testing-library/react-hooks-testing-library/blob/main/README.md there are two reasons when not to use react-hooks-testing-library: > 1. Your hook is defined alongside a component and is only used there 2. Your hook is easy...

Hi all! I'm a huge fan of the project and am the maintainer and creator of a project called [`cli-testing-library`](https://github.com/crutchcorn/cli-testing-library). This is a CLI testing library that looks to emulate...

**Is your feature request related to a problem? Please describe.** A clear and concise description of what the problem is. Ex. I'm always frustrated when [...] Hello! I want to...

the first example of example-react-router fails to be more precise ```js test('full app rendering/navigating', () => { const history = createMemoryHistory() render( , ) // verify page content for expected...

**Is your feature request related to a problem? Please describe.** In the example seen at the bottom of this issue, I get flaky results. The assertion passes sometimes and fails...

**Description:** Hey there :wave: - our team is newer to `testing-library/react`, and just had a bit of confusion in PR review whereby we went back and forth on whether to...

Following the discussion in [this issue](https://github.com/testing-library/react-testing-library/issues/869), this PR aims to document the reason for that issue.

Provides the ability to specify a different element query mechanism other than querySelector and querySelectorAll. An example of the usage with Georgegriff/query-selector-shadow-dom looks like this: ``` import { querySelectorAllDeep, querySelectorDeep...

Hey maintainers! I'd like to contribute Storybook documentation as a **Framework** . With the introduction of [Storybook Component Format 3](https://storybook.js.org/blog/component-story-format-3-0/#:~:text=Component%20Story%20Format%203.0%20was%20developed%20by%20Michael,organized%20by%20a%20steering%20committee%20of%20top%20maintainers.), Storybook is doubling down on [Testing Library]. `testing-library/dom` is the...