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

Please, look at pic below: ![image](https://user-images.githubusercontent.com/3010698/51483260-b4b5c280-1da9-11e9-917e-a856a7e46ec3.png) Previously that test passed, now object with property length:0 is considered empty. Is that correct behavior?

Hey team, I raised https://github.com/facebook/jest/issues/7958 on the main Jest repo and the team suggested raising it here. ## 🚀 Feature Proposal I think it would be useful to have a...

**Feature Request** Description: It would be nice to have a way of checking that a value is "close enough" to the expected result (e.g. due to roundoff errors). Using toBeWithin()...

help wanted
New Matcher

**Bug** - `package` version: "jest-extended": "^0.11.1" - `node` version: v10.13.0 - `npm` version: 6.4.1 Relevant code or config ```javascript expect('a..').toIncludeRepeated('.', 2); ``` What you did: tried to verify is string...

Description: expecting nested object in .toContainEntries when I have object like this ```javascript { profile: { country_code: "+62" last_verified_phone_at: "2018-11-29T06:56:34.876Z" last_verified_phone_number: phoneNumber } } ``` expecting ```javascript .toContainEntries([ ['profile.country_code', '+62'],...

**Feature Request** Description: I often find it useful (considering the nature of the project I'm working on) to test that all array-members are of the same type, which can currently...

**Feature Request** Description: Would it be (have been?) possible to extend the 'expect' library instead? My use case is that I am using Jest from the command line (the "normal"...

**Feature Request** ***Description:*** 2 matcher's, to test for a date string matching the ISO8601 standard. * toBeIso8601() to test the string complies to the pretty loose ISO8601 [standard](https://en.wikipedia.org/wiki/ISO_8601). * toBeIso8601Strict()...

help wanted
New Matcher

Consider failing test: ``` Expected first mock to have been called before, invocationCallOrder: [15] Received second mock with invocationCallOrder: [8, 16] ``` So I'd like to compare second call of...

**Feature Request** Follow-up of: https://github.com/facebook/jest/issues/5363 `.toHaveBeenCalledTimely` accepts an array of temporal differences in milliseconds which specify the maximum time in between invocations to a mock. The matcher fails when at...

New Matcher