jest-extended icon indicating copy to clipboard operation
jest-extended copied to clipboard

Additional Jest matchers 🃏💪

Results 150 jest-extended issues
Sort by recently updated
recently updated
newest added

**Feature Request** Description: I'm working on errors with a lot of custom fields on which I want to assert. I could use a plain `try{}catch(e){}` to assert against `e` but...

**Feature Request** Description: Set a matcher that execute a function with passed values that execute other assertions. This matcher would behave almost entierly like `toSatisfy`, except it would not expect...

**Bug** - `package` version:v3.0.2 - `node` version: v14.18.2 - `yarn` version: v1.22.19 Relevant code or config ```typescript expect([{ foo: 'bar', baz: 'qux', bax: 'zax' }]).toPartiallyContain({ foo: 'bar' }) // Error:...

**Bug** - `package` version: 3.0.2 - `node` version: v16.13.0 - `npm` (or `yarn`) version: npm 8.5.0 Relevant code or config ```typescript type WithArray = { strings: string[]; }; it("example", ()...

This issue lists Renovate updates and detected dependencies. Read the [Dependency Dashboard](https://docs.renovatebot.com/key-concepts/dashboard/) docs to learn more. ## Rate-Limited These updates are currently rate-limited. Click on a checkbox below to force...

### What In this PR, I have created a new matcher `toBeInRange`. ### Why Recently, I came across a use case where I had to validate if `Year` dropdown has...

### What Add failing element to `satisfyAll` and `satisfyAny` error messages ### Why This will give a clearer error message of why the assertion failed ### Notes ### Housekeeping -...

I'm not sure if this belongs under bugs or a feature, but in version 1, it was possible to use jest-extended matches in `toMatchObject` to match by type like so:...

### What This adds support for a new custom matcher `.toBeJsonMatching(...)`. ### Why This matcher is useful when one wants to check that a function has been called with a...

### What Add toHaveBeenCalledOnceWith matcher ### Why To fix the second part of https://github.com/jest-community/jest-extended/issues/138 ### Housekeeping - [x] Unit tests - [x] Documentation is up to date - [x] No...