@types/jest
Advanced tools
Comparing version 25.1.0 to 25.1.1
@@ -529,46 +529,4 @@ // Type definitions for Jest 25.1 | ||
interface SnapshotSerializerOptions { | ||
callToJSON?: boolean; | ||
edgeSpacing?: string; | ||
spacing?: string; | ||
escapeRegex?: boolean; | ||
highlight?: boolean; | ||
indent?: number; | ||
maxDepth?: number; | ||
min?: boolean; | ||
plugins?: SnapshotSerializerPlugin[]; | ||
printFunctionName?: boolean; | ||
theme?: SnapshotSerializerOptionsTheme; | ||
type SnapshotSerializerPlugin = import('pretty-format').Plugin; | ||
// see https://github.com/facebook/jest/blob/e56103cf142d2e87542ddfb6bd892bcee262c0e6/types/PrettyFormat.js | ||
} | ||
interface SnapshotSerializerOptionsTheme { | ||
comment?: string; | ||
content?: string; | ||
prop?: string; | ||
tag?: string; | ||
value?: string; | ||
} | ||
interface SnapshotSerializerColor { | ||
close: string; | ||
open: string; | ||
} | ||
interface SnapshotSerializerColors { | ||
comment: SnapshotSerializerColor; | ||
content: SnapshotSerializerColor; | ||
prop: SnapshotSerializerColor; | ||
tag: SnapshotSerializerColor; | ||
value: SnapshotSerializerColor; | ||
} | ||
interface SnapshotSerializerPlugin { | ||
print( | ||
val: any, | ||
serialize: (val: any) => string, | ||
indent: (str: string) => string, | ||
opts: SnapshotSerializerOptions, | ||
colors: SnapshotSerializerColors | ||
): string; | ||
test(val: any): boolean; | ||
} | ||
interface InverseAsymmetricMatchers { | ||
@@ -575,0 +533,0 @@ /** |
{ | ||
"name": "@types/jest", | ||
"version": "25.1.0", | ||
"version": "25.1.1", | ||
"description": "TypeScript definitions for Jest", | ||
@@ -142,6 +142,7 @@ "license": "MIT", | ||
"dependencies": { | ||
"jest-diff": "^25.1.0" | ||
"jest-diff": "^25.1.0", | ||
"pretty-format": "^25.1.0" | ||
}, | ||
"typesPublisherContentHash": "c0b91884cedbaa66f33f8c7f2b6149dca233205b983d263e06a4450b9ca122a6", | ||
"typesPublisherContentHash": "be08fa311fffb35fef4133bfdb6579942c3f19d1212961165e7340ccff909472", | ||
"typeScriptVersion": "3.0" | ||
} |
@@ -11,3 +11,3 @@ # Installation | ||
### Additional Details | ||
* Last updated: Mon, 27 Jan 2020 18:49:42 GMT | ||
* Last updated: Wed, 29 Jan 2020 21:49:45 GMT | ||
* Dependencies: none | ||
@@ -14,0 +14,0 @@ * Global values: `afterAll`, `afterEach`, `beforeAll`, `beforeEach`, `describe`, `expect`, `fail`, `fdescribe`, `fit`, `it`, `jasmine`, `jest`, `pending`, `spyOn`, `test`, `xdescribe`, `xit`, `xtest` |
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
67401
2
1408
+ Addedpretty-format@^25.1.0