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

Simple and complete Preact DOM testing utilities that encourage good testing practices.

Results 8 preact-testing-library issues
Sort by recently updated
recently updated
newest added

Hi all! Need a help with react-testing-library. I use Preact in my project, and use preact-testing-library wrapper for RTL. The problem is in the `onInput` event. The project is big...

- `preact-testing-library` version: 2.0.1 - `preact` version: 10.5.13 - `node` version: 14.3.0 - `npm` (or `yarn`) version: My npm's version is 7.11.1 **Relevant code or config** I have defined a...

**What**: The slack link goes to a page that doesn't appear to work. **Why**: **How**: Changed the link and badge url **Checklist**: - [ ] Documentation added N/A - [...

- `preact-testing-library` version: 3.2.2 - `preact` version: 10.11.0 - `node` version: 16.17.0 - `npm` (or `yarn`) version: yarn 3.2.3 **Relevant code or config** ```typescript export interface TestComponentProps { onNextClick?: ()...

- `@testing-library/preact` version: `3.2.3` - `preact` version: `10.13.2` - `node` version: `18.14.0` - `npm` version: `9.3.1` **What happened:** Starting with `v3.1.0` i have problems running my tests with jest. When...

**What**: The type of `wrapper` property in `RenderOptions` is mistyped, causing the `children` prop to be inferred as `any`. ![Screenshot](https://github.com/testing-library/preact-testing-library/assets/9212875/682bab46-562d-4537-8dd3-309d189b57b3) **Why**: The `wrapper` property should be a **component** instead of...

Hello :) I am just wondering if there are any plans to update the `@testing-library/dom` dependency to v10? Or make it a peer dependency so that end-users can self upgrade?...