jest-validate
Advanced tools
Comparing version 28.1.0 to 28.1.1
@@ -30,3 +30,3 @@ 'use strict'; | ||
if ( | ||
Array.isArray(validOption) && // @ts-expect-error | ||
Array.isArray(validOption) && // @ts-expect-error: no index signature | ||
validOption[MULTIPLE_VALID_OPTIONS_SYMBOL] | ||
@@ -45,3 +45,3 @@ ) { | ||
function multipleValidOptions(...args) { | ||
const options = [...args]; // @ts-expect-error | ||
const options = [...args]; // @ts-expect-error: no index signature | ||
@@ -48,0 +48,0 @@ options[MULTIPLE_VALID_OPTIONS_SYMBOL] = true; |
@@ -21,2 +21,3 @@ 'use strict'; | ||
}, | ||
// eslint-disable-next-line @typescript-eslint/no-empty-function | ||
error: () => {}, | ||
@@ -34,2 +35,3 @@ exampleConfig: { | ||
}, | ||
// eslint-disable-next-line @typescript-eslint/no-empty-function | ||
unknown: () => {} | ||
@@ -36,0 +38,0 @@ }; |
@@ -24,3 +24,3 @@ /** | ||
message: string, | ||
comment?: string | null | undefined, | ||
comment?: string | null, | ||
) => void; | ||
@@ -27,0 +27,0 @@ |
@@ -91,3 +91,4 @@ 'use strict'; | ||
`${_chalk().default.bold(name)}:\n\n${message}${comment}` | ||
); | ||
); // eslint-disable-next-line @typescript-eslint/no-empty-function | ||
Error.captureStackTrace(this, () => {}); | ||
@@ -94,0 +95,0 @@ } |
{ | ||
"name": "jest-validate", | ||
"version": "28.1.0", | ||
"version": "28.1.1", | ||
"repository": { | ||
@@ -20,3 +20,3 @@ "type": "git", | ||
"dependencies": { | ||
"@jest/types": "^28.1.0", | ||
"@jest/types": "^28.1.1", | ||
"camelcase": "^6.2.0", | ||
@@ -26,3 +26,3 @@ "chalk": "^4.0.0", | ||
"leven": "^3.1.0", | ||
"pretty-format": "^28.1.0" | ||
"pretty-format": "^28.1.1" | ||
}, | ||
@@ -38,3 +38,3 @@ "devDependencies": { | ||
}, | ||
"gitHead": "f5db241312f46528389e55c38221e6b6968622cf" | ||
"gitHead": "eb954f8874960920ac50a8f976bb333fbb06ada9" | ||
} |
28171
693
Updated@jest/types@^28.1.1
Updatedpretty-format@^28.1.1