@ledgerhq/currencies
Advanced tools
Comparing version 4.10.1 to 4.12.0-beta.fd04ab6f
@@ -1,3 +0,3 @@ | ||
// flow-typed signature: 1dde6c4bc53bf6fad550b4293c372f67 | ||
// flow-typed version: 7b9f6d2713/jest_v20.x.x/flow_>=v0.39.x | ||
// flow-typed signature: 002f0912eb0f40f562c348561ea3d850 | ||
// flow-typed version: a5bbe16c29/jest_v20.x.x/flow_>=v0.39.x | ||
@@ -141,4 +141,11 @@ type JestMockFn<TArguments: $ReadOnlyArray<*>, TReturn> = { | ||
// DOM testing library extensions https://github.com/kentcdodds/dom-testing-library#custom-jest-matchers | ||
type DomTestingLibraryType = { | ||
toBeInTheDOM(): void, | ||
toHaveTextContent(content: string): void, | ||
toHaveAttribute(name: string, expectedValue?: string): void | ||
}; | ||
type JestExpectType = { | ||
not: JestExpectType & EnzymeMatchersType, | ||
not: JestExpectType & EnzymeMatchersType & DomTestingLibraryType, | ||
/** | ||
@@ -502,10 +509,56 @@ * If you have a mock function, you can use .lastCalledWith to test what | ||
type JestPrettyFormatColors = { | ||
comment: { close: string, open: string }, | ||
content: { close: string, open: string }, | ||
prop: { close: string, open: string }, | ||
tag: { close: string, open: string }, | ||
value: { close: string, open: string }, | ||
}; | ||
type JestPrettyFormatIndent = string => string; | ||
type JestPrettyFormatRefs = Array<any>; | ||
type JestPrettyFormatPrint = any => string; | ||
type JestPrettyFormatStringOrNull = string | null; | ||
type JestPrettyFormatOptions = {| | ||
callToJSON: boolean, | ||
edgeSpacing: string, | ||
escapeRegex: boolean, | ||
highlight: boolean, | ||
indent: number, | ||
maxDepth: number, | ||
min: boolean, | ||
plugins: JestPrettyFormatPlugins, | ||
printFunctionName: boolean, | ||
spacing: string, | ||
theme: {| | ||
comment: string, | ||
content: string, | ||
prop: string, | ||
tag: string, | ||
value: string, | ||
|}, | ||
|}; | ||
type JestPrettyFormatPlugin = { | ||
print: ( | ||
val: any, | ||
serialize: JestPrettyFormatPrint, | ||
indent: JestPrettyFormatIndent, | ||
opts: JestPrettyFormatOptions, | ||
colors: JestPrettyFormatColors, | ||
) => string, | ||
test: any => boolean, | ||
}; | ||
type JestPrettyFormatPlugins = Array<JestPrettyFormatPlugin>; | ||
/** The expect function is used every time you want to test a value */ | ||
declare var expect: { | ||
/** The object that you want to make assertions against */ | ||
(value: any): JestExpectType & JestPromiseType & EnzymeMatchersType, | ||
(value: any): JestExpectType & JestPromiseType & EnzymeMatchersType & DomTestingLibraryType, | ||
/** Add additional Jasmine matchers to Jest's roster */ | ||
extend(matchers: { [name: string]: JestMatcher }): void, | ||
/** Add a module that formats application-specific data structures. */ | ||
addSnapshotSerializer(serializer: (input: Object) => string): void, | ||
addSnapshotSerializer(pluginModule: JestPrettyFormatPlugin): void, | ||
assertions(expectedAssertions: number): void, | ||
@@ -512,0 +565,0 @@ hasAssertions(): void, |
{ | ||
"name": "@ledgerhq/currencies", | ||
"version": "4.10.1", | ||
"version": "4.12.0-beta.fd04ab6f", | ||
"description": "Ledger Hardware Wallet currencies dataset", | ||
@@ -5,0 +5,0 @@ "keywords": [], |
Sorry, the diff of this file is too big to display
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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
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
551294
10074
1