testing-library-docs
testing-library-docs copied to clipboard
docs site for @testing-library/*
Docs for https://github.com/testing-library/dom-testing-library/pull/1221 [Rendered preview](https://deploy-preview-1231--testing-library.netlify.app/docs/queries/byrole#disabled)
Two major changes: 1. support i18n 2. support zh-Hans(简体中文) 3. up-to-date: 2023-03-10
**Describe the bug** The [docs page for the byText API](https://testing-library.com/docs/queries/bytext/#api) states that > [it] will search for all elements that have a text node with `textContent` matching the given [TextMatch](https://testing-library.com/docs/queries/about#textmatch)....
Docs for the initial release of [Web Testing Library](https://github.com/testing-library/web-testing-library). `waitFor` API is implemented in https://github.com/testing-library/web-testing-library/pull/2. The name is born out of pragmatism. A preciser name would be "Web-interoperable runtimes Testing...
I struggled setting this up with sveltekit, and was only able to get it working with the added `mergeConfig`
**Is your feature request related to a problem? Please describe.** When using jest fake timers You have to turn off delay in user setup. I haven't found this description in...
- `@testing-library/react` version: 13.4.0 - Testing Framework and version: jest @ 29.0.3 - DOM Environment: jsdom @ 20.0.0 ### Relevant code or config: ```js // in test utils const customRender...
Docs for https://github.com/testing-library/react-testing-library/pull/1305 Explanation that we need to manually install `@testing-library/dom` as it's moved to peer dependency. **Do not merge before merging the RTL PR**
**Describe the bug** Sorry I don't know if I should list this as a bug or as a feature request with the renderHook now being supported react hook testing library....