jest-expect-message
jest-expect-message copied to clipboard
Add custom message to Jest expects 🃏🗯
**Feature Request** _Description:_ When use `Jest` and `jest-expect-message` with Typescript the compiler always display an error because Expect interface only accept one argument in the definition from [DefinitelyTyped](https://github.com/DefinitelyTyped/DefinitelyTyped), but tests...
**Bug** - `package` version: 1.0.2 - `node` version: v12.1.0 - `npm` (or `yarn`) version: npm 6.14.3 - `jest` version: 25.1.0 - Environment: 2015 MacBook Pro running OSX 10.15.4 ### Relevant...
Bumps [acorn](https://github.com/acornjs/acorn) from 5.7.1 to 5.7.4. Commits 6370e90 Mark version 5.7.4 fbc15b1 More rigorously check surrogate pairs in regexp validator 910e62b Mark version 5.7.3 3442a80 Make generate-identifier-regex capable of rewriting...
npm i -D ### What ### Why ### Notes ### Housekeeping - [ ] Unit tests - [ ] Documentation is up to date - [ ] No additional lint...
**Bug** - `package` version: - `node` version: - `npm` (or `yarn`) version: Relevant code or config ```javascript ``` What you did: 1. install pkg `yarn add -D jest-expect-message` 2. add...
Does this library handle async assertions? It does not appear to intercept rejections from promises. For example: ``` await expect(Promise.reject(true)).rejects.toBe(false); ```
**Feature Request** Description: Thank useful tool. There should be a possibility to pass _custom message_ as the output of a callback function, not just a plain (resolved) `string`. Like [`expect.extend()`...
### What When the message is an object, it is JSON.stringify ### Why When I check a property of an object, I want to prompt the entire object when the...
Bumps [js-yaml](https://github.com/nodeca/js-yaml) from 3.12.0 to 3.13.1. Changelog *Sourced from [js-yaml's changelog](https://github.com/nodeca/js-yaml/blob/master/CHANGELOG.md).* > 3.13.1 / 2019-04-05 > ------------------- > > - Fix possible code execution in (already unsafe) `.load()`, [#480](https://github-redirect.dependabot.com/nodeca/js-yaml/issues/480). >...
Bumps [merge](https://github.com/yeikos/js.merge) from 1.2.0 to 1.2.1. Commits - [`b31e67f`](https://github.com/yeikos/js.merge/commit/b31e67fe6592390c967c991aa604c06ed2ae8c4f) link broken - [`6ad6035`](https://github.com/yeikos/js.merge/commit/6ad6035b901b3d680beac82de39ca83a93885246) Fix prototype pollution - See full diff in [compare view](https://github.com/yeikos/js.merge/compare/v1.2.0...v1.2.1) [](https://help.github.com/articles/configuring-automated-security-fixes) Dependabot will resolve any...