Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More β†’
Socket
Sign inDemoInstall
Socket

jest-extended

Package Overview
Dependencies
Maintainers
1
Versions
40
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

jest-extended - npm Package Compare versions

Comparing version 0.1.0 to 0.2.0

dist/matchers/toBeEven/index.js

30

dist/matchers/index.js

@@ -9,2 +9,6 @@ 'use strict';

var _toBeEven = require('./toBeEven');
var _toBeEven2 = _interopRequireDefault(_toBeEven);
var _toBeTrue = require('./toBeTrue');

@@ -62,4 +66,28 @@

var _toBeFrozen = require('./toBeFrozen');
var _toBeFrozen2 = _interopRequireDefault(_toBeFrozen);
var _toBeObject = require('./toBeObject');
var _toBeObject2 = _interopRequireDefault(_toBeObject);
var _toContainAllKeys = require('./toContainAllKeys');
var _toContainAllKeys2 = _interopRequireDefault(_toContainAllKeys);
var _toContainAnyKeys = require('./toContainAnyKeys');
var _toContainAnyKeys2 = _interopRequireDefault(_toContainAnyKeys);
var _toContainKeys = require('./toContainKeys');
var _toContainKeys2 = _interopRequireDefault(_toContainKeys);
var _toBeFinite = require('./toBeFinite');
var _toBeFinite2 = _interopRequireDefault(_toBeFinite);
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
exports.default = [_toBeTrue2.default, _toContainValue2.default, _toContainValues2.default, _toEqualCaseInsensitive2.default, _toStartWith2.default, _toBeNegative2.default, _toBeOneOf2.default, _toContainKey2.default, _toBeString2.default, _toBeExtensible2.default, _toBeWithin2.default, _toIncludeMultiple2.default, _toEndWith2.default].reduce((acc, matcher) => _extends({}, acc, matcher), {});
exports.default = [_toBeEven2.default, _toBeTrue2.default, _toContainValue2.default, _toContainValues2.default, _toEqualCaseInsensitive2.default, _toStartWith2.default, _toBeNegative2.default, _toBeOneOf2.default, _toContainKey2.default, _toBeString2.default, _toBeExtensible2.default, _toBeWithin2.default, _toIncludeMultiple2.default, _toEndWith2.default, _toBeFrozen2.default, _toBeObject2.default, _toContainAllKeys2.default, _toContainAnyKeys2.default, _toContainKeys2.default, _toBeFinite2.default].reduce((acc, matcher) => _extends({}, acc, matcher), {});

2

package.json
{
"name": "jest-extended",
"version": "0.1.0",
"version": "0.2.0",
"description": "Additional Jest matchers",

@@ -5,0 +5,0 @@ "main": "dist/index.js",

@@ -231,4 +231,2 @@ <div align="center">

_Note: Currently unimplemented_
Use `.toContainKeys` when checking if an object has all of the provided keys.

@@ -247,4 +245,2 @@

_Note: Currently unimplemented_
Use `.toContainAllKeys` when checking if an object only contains all of the provided keys.

@@ -263,4 +259,2 @@

_Note: Currently unimplemented_
Use `.toContainAnyKeys` when checking if an object contains at least one of the provided keys.

@@ -476,4 +470,2 @@

_Note: Currently unimplemented_
Use `.toBeFrozen` when checking if an object is frozon.

@@ -491,4 +483,2 @@

_Note: Currently unimplemented_
Use `.toBeFinite` when checking if a value is a `Number`, not `NaN` or `Infinity`.

@@ -534,3 +524,2 @@

_Note: Currently unimplemented_

@@ -579,4 +568,2 @@ Use `.toBeEven` when checking if a value is an even `Number`.

_Note: Currently unimplemented_
Use `.toBeObject` when checking if a value is an `Object`.

@@ -725,4 +712,6 @@

<!-- ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section -->
| [<img src="https://avatars0.githubusercontent.com/u/5610087?v=4" width="100px;"/><br /><sub>Matt Phillips</sub>](http://mattphillips.io)<br />[πŸ“](#blog-mattphillips "Blogposts") [πŸ’»](https://github.com/mattphillips/jest-extended/commits?author=mattphillips "Code") [πŸ“–](https://github.com/mattphillips/jest-extended/commits?author=mattphillips "Documentation") [πŸ’‘](#example-mattphillips "Examples") [πŸš‡](#infra-mattphillips "Infrastructure (Hosting, Build-Tools, etc)") [⚠️](https://github.com/mattphillips/jest-extended/commits?author=mattphillips "Tests") | [<img src="https://avatars1.githubusercontent.com/u/20847518?v=4" width="100px;"/><br /><sub>Brandon Newton</sub>](https://btnwtn.com)<br />[πŸ’»](https://github.com/mattphillips/jest-extended/commits?author=btnwtn "Code") [πŸ“–](https://github.com/mattphillips/jest-extended/commits?author=btnwtn "Documentation") | [<img src="https://avatars2.githubusercontent.com/u/8472688?v=4" width="100px;"/><br /><sub>Gary Leutheuser</sub>](https://GaryLeutheuser.github.io)<br />[πŸ’»](https://github.com/mattphillips/jest-extended/commits?author=GaryLeutheuser "Code") | [<img src="https://avatars3.githubusercontent.com/u/24882614?v=4" width="100px;"/><br /><sub>Johan Lindgren</sub>](https://github.com/lindgr3n)<br />[πŸ’»](https://github.com/mattphillips/jest-extended/commits?author=lindgr3n "Code") [πŸ“–](https://github.com/mattphillips/jest-extended/commits?author=lindgr3n "Documentation") [⚠️](https://github.com/mattphillips/jest-extended/commits?author=lindgr3n "Tests") | [<img src="https://avatars1.githubusercontent.com/u/159848?v=4" width="100px;"/><br /><sub>Andrew Hayward</sub>](http://andrewhayward.net)<br />[πŸ’»](https://github.com/mattphillips/jest-extended/commits?author=andrewhayward "Code") [⚠️](https://github.com/mattphillips/jest-extended/commits?author=andrewhayward "Tests") | [<img src="https://avatars3.githubusercontent.com/u/6209178?v=4" width="100px;"/><br /><sub>Oliver Schneider</sub>](https://ols.io)<br />[πŸ’»](https://github.com/mattphillips/jest-extended/commits?author=olsio "Code") [⚠️](https://github.com/mattphillips/jest-extended/commits?author=olsio "Tests") | [<img src="https://avatars1.githubusercontent.com/u/22359375?s=460&v=4" width="100px;"/><br /><sub>Tyle Whalen</sub>](https://github.com/tjwhalen16)<br />[πŸ’»](https://github.com/mattphillips/jest-extended/commits?author=tjwhalen16 "Code") [πŸ“–](https://github.com/mattphillips/jest-extended/commits?author=tjwhalen16 "Documentation") | [<img src="https://avatars2.githubusercontent.com/u/17944339?v=4" width="100px;"/><br /><sub>Martius</sub>](https://github.com/martiuslim)<br />[πŸ’»](https://github.com/mattphillips/jest-extended/commits?author=martiuslim "Code") [⚠️](https://github.com/mattphillips/jest-extended/commits?author=martiuslim "Tests") | [<img src="https://avatars2.githubusercontent.com/u/10856932?v=4" width="100px;"/><br /><sub>Eli Collis</sub>](https://github.com/ecollis6)<br />[πŸ’»](https://github.com/mattphillips/jest-extended/commits?author=ecollis6 "Code") | [<img src="https://avatars0.githubusercontent.com/u/10706203?v=4" width="100px;"/><br /><sub>Marcin LichwaΕ‚a</sub>](https://github.com/marcinlichwala)<br />[πŸ’»](https://github.com/mattphillips/jest-extended/commits?author=marcinlichwala "Code") [⚠️](https://github.com/mattphillips/jest-extended/commits?author=marcinlichwala "Tests") |
| :---: | :---: | :---: | :---: | :---: | :---: | :---: | :---: | :---: | :---: |
| [<img src="https://avatars0.githubusercontent.com/u/5610087?v=4" width="100px;"/><br /><sub>Matt Phillips</sub>](http://mattphillips.io)<br />[πŸ“](#blog-mattphillips "Blogposts") [πŸ’»](https://github.com/mattphillips/jest-extended/commits?author=mattphillips "Code") [πŸ“–](https://github.com/mattphillips/jest-extended/commits?author=mattphillips "Documentation") [πŸ’‘](#example-mattphillips "Examples") [πŸš‡](#infra-mattphillips "Infrastructure (Hosting, Build-Tools, etc)") [⚠️](https://github.com/mattphillips/jest-extended/commits?author=mattphillips "Tests") | [<img src="https://avatars1.githubusercontent.com/u/20847518?v=4" width="100px;"/><br /><sub>Brandon Newton</sub>](https://btnwtn.com)<br />[πŸ’»](https://github.com/mattphillips/jest-extended/commits?author=btnwtn "Code") [πŸ“–](https://github.com/mattphillips/jest-extended/commits?author=btnwtn "Documentation") [⚠️](https://github.com/mattphillips/jest-extended/commits?author=btnwtn "Tests") | [<img src="https://avatars2.githubusercontent.com/u/8472688?v=4" width="100px;"/><br /><sub>Gary Leutheuser</sub>](https://GaryLeutheuser.github.io)<br />[πŸ’»](https://github.com/mattphillips/jest-extended/commits?author=GaryLeutheuser "Code") | [<img src="https://avatars3.githubusercontent.com/u/24882614?v=4" width="100px;"/><br /><sub>Johan Lindgren</sub>](https://github.com/lindgr3n)<br />[πŸ’»](https://github.com/mattphillips/jest-extended/commits?author=lindgr3n "Code") [πŸ“–](https://github.com/mattphillips/jest-extended/commits?author=lindgr3n "Documentation") [⚠️](https://github.com/mattphillips/jest-extended/commits?author=lindgr3n "Tests") | [<img src="https://avatars1.githubusercontent.com/u/159848?v=4" width="100px;"/><br /><sub>Andrew Hayward</sub>](http://andrewhayward.net)<br />[πŸ’»](https://github.com/mattphillips/jest-extended/commits?author=andrewhayward "Code") [⚠️](https://github.com/mattphillips/jest-extended/commits?author=andrewhayward "Tests") | [<img src="https://avatars3.githubusercontent.com/u/6209178?v=4" width="100px;"/><br /><sub>Oliver Schneider</sub>](https://ols.io)<br />[πŸ’»](https://github.com/mattphillips/jest-extended/commits?author=olsio "Code") [⚠️](https://github.com/mattphillips/jest-extended/commits?author=olsio "Tests") | [<img src="https://avatars1.githubusercontent.com/u/22359375?s=460&v=4" width="100px;"/><br /><sub>Tyle Whalen</sub>](https://github.com/tjwhalen16)<br />[πŸ’»](https://github.com/mattphillips/jest-extended/commits?author=tjwhalen16 "Code") [πŸ“–](https://github.com/mattphillips/jest-extended/commits?author=tjwhalen16 "Documentation") |
| :---: | :---: | :---: | :---: | :---: | :---: | :---: |
| [<img src="https://avatars2.githubusercontent.com/u/17944339?v=4" width="100px;"/><br /><sub>Martius</sub>](https://github.com/martiuslim)<br />[πŸ’»](https://github.com/mattphillips/jest-extended/commits?author=martiuslim "Code") [⚠️](https://github.com/mattphillips/jest-extended/commits?author=martiuslim "Tests") | [<img src="https://avatars2.githubusercontent.com/u/10856932?v=4" width="100px;"/><br /><sub>Eli Collis</sub>](https://github.com/ecollis6)<br />[πŸ’»](https://github.com/mattphillips/jest-extended/commits?author=ecollis6 "Code") | [<img src="https://avatars0.githubusercontent.com/u/10706203?v=4" width="100px;"/><br /><sub>Marcin LichwaΕ‚a</sub>](https://github.com/marcinlichwala)<br />[πŸ’»](https://github.com/mattphillips/jest-extended/commits?author=marcinlichwala "Code") [⚠️](https://github.com/mattphillips/jest-extended/commits?author=marcinlichwala "Tests") | [<img src="https://avatars3.githubusercontent.com/u/1984733?v=4" width="100px;"/><br /><sub>Massimo Prencipe</sub>](https://github.com/mprencipe)<br />[πŸ’»](https://github.com/mattphillips/jest-extended/commits?author=mprencipe "Code") [⚠️](https://github.com/mattphillips/jest-extended/commits?author=mprencipe "Tests") | [<img src="https://avatars1.githubusercontent.com/u/13333582?v=4" width="100px;"/><br /><sub>Gary Meehan</sub>](https://github.com/garmeeh)<br />[πŸ’»](https://github.com/mattphillips/jest-extended/commits?author=garmeeh "Code") [πŸ“–](https://github.com/mattphillips/jest-extended/commits?author=garmeeh "Documentation") [⚠️](https://github.com/mattphillips/jest-extended/commits?author=garmeeh "Tests") | [<img src="https://avatars2.githubusercontent.com/u/3191489?v=4" width="100px;"/><br /><sub>Fredrik MΓ€kilΓ€</sub>](https://github.com/GitHug)<br />[πŸ’»](https://github.com/mattphillips/jest-extended/commits?author=GitHug "Code") [⚠️](https://github.com/mattphillips/jest-extended/commits?author=GitHug "Tests") | [<img src="https://avatars2.githubusercontent.com/u/9046616?v=4" width="100px;"/><br /><sub>Daniel Reinoso</sub>](http://kloc.io/)<br />[πŸ’»](https://github.com/mattphillips/jest-extended/commits?author=danielr18 "Code") [⚠️](https://github.com/mattphillips/jest-extended/commits?author=danielr18 "Tests") |
| [<img src="https://avatars1.githubusercontent.com/u/4359781?v=4" width="100px;"/><br /><sub>Chris Hut</sub>](https://github.com/tophernuts)<br />[πŸ’»](https://github.com/mattphillips/jest-extended/commits?author=tophernuts "Code") [⚠️](https://github.com/mattphillips/jest-extended/commits?author=tophernuts "Tests") |
<!-- ALL-CONTRIBUTORS-LIST:END -->

@@ -729,0 +718,0 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚑️ by Socket Inc