jest-extended
Advanced tools
Comparing version 0.1.0 to 0.2.0
@@ -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), {}); |
{ | ||
"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 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
58407
46
548
0
714