Socket
Socket
Sign inDemoInstall

jest-each

Package Overview
Dependencies
Maintainers
6
Versions
144
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

jest-each - npm Package Compare versions

Comparing version 28.0.0-alpha.5 to 28.0.0-alpha.6

2

build/table/array.js

@@ -79,3 +79,3 @@ 'use strict';

*/
const SUPPORTED_PLACEHOLDERS = /%[sdifjoOp]/g;
const SUPPORTED_PLACEHOLDERS = /%[sdifjoOp#]/g;
const PRETTY_PLACEHOLDER = '%p';

@@ -82,0 +82,0 @@ const INDEX_PLACEHOLDER = '%#';

@@ -40,3 +40,3 @@ 'use strict';

.reduce(replaceKeyPathWithValue(template), title)
.replace('$#', '' + index);
.replace('$#', `${index}`);

@@ -43,0 +43,0 @@ exports.interpolateVariables = interpolateVariables;

@@ -89,8 +89,6 @@ 'use strict';

throw new Error(
'Not enough arguments supplied for given headings:\n' +
EXPECTED_COLOR(headings.join(' | ')) +
'\n\n' +
'Received:\n' +
RECEIVED_COLOR((0, _prettyFormat().format)(data)) +
'\n\n' +
`Not enough arguments supplied for given headings:\n${EXPECTED_COLOR(
headings.join(' | ')
)}\n\n` +
`Received:\n${RECEIVED_COLOR((0, _prettyFormat().format)(data))}\n\n` +
`Missing ${RECEIVED_COLOR(missingData.toString())} ${pluralize(

@@ -123,7 +121,7 @@ 'argument',

throw new Error(
'Table headings do not conform to expected format:\n\n' +
EXPECTED_COLOR('heading1 | headingN') +
'\n\n' +
'Received:\n\n' +
RECEIVED_COLOR((0, _prettyFormat().format)(headings))
`Table headings do not conform to expected format:\n\n${EXPECTED_COLOR(
'heading1 | headingN'
)}\n\nReceived:\n\n${RECEIVED_COLOR(
(0, _prettyFormat().format)(headings)
)}`
);

@@ -130,0 +128,0 @@ }

{
"name": "jest-each",
"version": "28.0.0-alpha.5",
"version": "28.0.0-alpha.6",
"description": "Parameterised tests for Jest",

@@ -28,7 +28,7 @@ "main": "./build/index.js",

"dependencies": {
"@jest/types": "^28.0.0-alpha.5",
"@jest/types": "^28.0.0-alpha.6",
"chalk": "^4.0.0",
"jest-get-type": "^28.0.0-alpha.3",
"jest-util": "^28.0.0-alpha.5",
"pretty-format": "^28.0.0-alpha.5"
"jest-util": "^28.0.0-alpha.6",
"pretty-format": "^28.0.0-alpha.6"
},

@@ -41,3 +41,3 @@ "engines": {

},
"gitHead": "46fb19b2628bd87676c10730ba19592c30b05478"
"gitHead": "6284ada4adb7008f5f8673b1a7b1c789d2e508fb"
}
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