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 `toHaveBeenCalledWith` is a very helpful matcher, its output less so. Jest users shouldn't have to scan JS objects to try and figure out what specific property...

### What Improve the output of `toHaveBeenCalledExactlyOnceWith` to display a diff when the arguments do not match. Notably, I use `printDiffOrStringify` to improve readability with many arguments or with complex...

Hello! Thank you for this great library! However, when using TypeScript and Jest with `@jest/globals`, the declarations provided by the package doesn't work. E.g.: ```ts import 'jest-extended'; import { expect...

Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects) from 1.15.3 to 1.15.4. Commits 6585820 Release version 1.15.4 of the npm package. 7a6567e Disallow bracketed hostnames. 05629af Prefer native URL instead of deprecated url.parse. 1cba8e8 Prefer native...

dependencies

### What This PR allows calls to `expect().fail(message)` to fail a test, even when the `expect().fail()` is executed inside of a try/catch block. ### Why closes #663 This functionality has...

Currently, if you have a test like this: ```js it('example', () => { const expected = Array.from({ length: 1000 }, (_, i) => ({ i, value: 'expected' })); const actual...

[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [lint-staged](https://togithub.com/okonet/lint-staged) | [`~13.2.0` -> `~15.2.0`](https://renovatebot.com/diffs/npm/lint-staged/13.2.3/15.2.2) | [![age](https://developer.mend.io/api/mc/badges/age/npm/lint-staged/15.2.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)...

[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [@codesandbox/sandpack-react](https://togithub.com/codesandbox/sandpack) | [`^1.7.2` -> `^2.0.0`](https://renovatebot.com/diffs/npm/@codesandbox%2fsandpack-react/1.20.9/2.13.5) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@codesandbox%2fsandpack-react/2.13.5?slim=true)](https://docs.renovatebot.com/merge-confidence/)...

[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [prism-react-renderer](https://togithub.com/FormidableLabs/prism-react-renderer) | [`^1.3.5` -> `^2.0.0`](https://renovatebot.com/diffs/npm/prism-react-renderer/1.3.5/2.3.1) | [![age](https://developer.mend.io/api/mc/badges/age/npm/prism-react-renderer/2.3.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)...

[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [prettier](https://prettier.io) ([source](https://togithub.com/prettier/prettier)) | [`^2.3.2` -> `^3.0.0`](https://renovatebot.com/diffs/npm/prettier/2.8.8/3.2.5) |...