Daniel Rentz

Results 23 issues of Daniel Rentz

This code line fails in Jest, because getImageData returns undefined: ```js const pixel = context.getImageData(1, 1, 1, 1).data; ```

According to the spec, it is possible to add cookie-based authentication: https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.0.1.md#securitySchemeObject https://swagger.io/docs/specification/authentication/cookie-authentication/ But using that with this library results in > message: 'expected ''cookie'' to be equals one of...

Interface `NodeList` is correctly typed ```typescript interface NodeList { item(index: number): Node | null; } ``` but interface `NodeListOf` is missing the `null` type: ```typescript interface NodeListOf extends NodeList {...

fixes #1261 NodeListOf#item() misses `null` in return type

### What Documentation only. ### Why EsLint rule `jest/valid-expect` should be configured to accept up to 3 args to support the "options" arg.

As can be verified in source code, the properties `Item#msgctxt` and `Item#msgid_plural` will be initialized to `null` instead of `undefined` (https://github.com/rubenv/pofile/blob/master/lib/po.js#L279-L281). However, type `undefined` should remain to not break any...

### Describe the feature you'd like: Testing hooks should support hooks with multiple parameters. Currently, the option "initialProps" of `renderHook`, and the "rerender" function it returns are supporting only a...

### Describe the bug Using Vitest v2.0.5 gives a type error when TSC typechecks vite.config.ts in strict mode. ```txt node_modules/vitest/dist/chunks/reporters.C_zwCd4j.d.ts:17:23 - error TS7016: Could not find a declaration file for...

pending triage

- `eslint-plugin-jest-dom` version: 5.4.0 - `node` version: 20.9 - `npm` version: 9.8.1 Relevant code or config Using `jest-extended`'s method `toBeTrue()` does not work with autofixer of `jest-dom/prefer-to-have-class` ```javascript expect(node.classList.contains('a')).toBe(true); expect(node.classList.contains('b')).toBeTrue();...

Hi! I am trying to combine this module with [`@gitlab/svgs`](https://www.npmjs.com/package/@gitlab/svgs). When using the auto-import feature, I am getting warnings for icon name conflicts, e.g.: ``` WARN Two component files resolving...