react-test-wrapper
Advanced tools
Comparing version 2.1.0 to 2.1.1
@@ -0,1 +1,2 @@ | ||
/// <reference types="cheerio" /> | ||
import { ComponentType } from "enzyme"; | ||
@@ -96,3 +97,3 @@ import * as React from "react"; | ||
*/ | ||
render: () => any; | ||
render: () => cheerio.Cheerio; | ||
/** | ||
@@ -99,0 +100,0 @@ * Mounts the component using Enzyme's `shallow()` function. |
@@ -18,11 +18,11 @@ import * as React from "react"; | ||
protected get mergedIntlProviderProps(): { | ||
textComponent?: "object" | "a" | "abbr" | "address" | "area" | "article" | "aside" | "audio" | "b" | "base" | "bdi" | "bdo" | "big" | "blockquote" | "body" | "br" | "button" | "canvas" | "caption" | "cite" | "code" | "col" | "colgroup" | "data" | "datalist" | "dd" | "del" | "details" | "dfn" | "dialog" | "div" | "dl" | "dt" | "em" | "embed" | "fieldset" | "figcaption" | "figure" | "footer" | "form" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "head" | "header" | "hgroup" | "hr" | "html" | "i" | "iframe" | "img" | "input" | "ins" | "kbd" | "keygen" | "label" | "legend" | "li" | "link" | "main" | "map" | "mark" | "menu" | "menuitem" | "meta" | "meter" | "nav" | "noscript" | "ol" | "optgroup" | "option" | "output" | "p" | "param" | "picture" | "pre" | "progress" | "q" | "rp" | "rt" | "ruby" | "s" | "samp" | "script" | "section" | "select" | "small" | "source" | "span" | "strong" | "style" | "sub" | "summary" | "sup" | "table" | "template" | "tbody" | "td" | "textarea" | "tfoot" | "th" | "thead" | "time" | "title" | "tr" | "track" | "u" | "ul" | "var" | "video" | "wbr" | "webview" | "slot" | React.FunctionComponent<{}> | React.ComponentClass<{}, any> | undefined; | ||
wrapRichTextChunksInFragment?: boolean | undefined; | ||
locale: string; | ||
defaultRichTextElements?: Record<string, import("intl-messageformat").FormatXMLElementFn<React.ReactNode, React.ReactNode | React.ReactNode[]>> | undefined; | ||
formats?: import("react-intl").CustomFormats | undefined; | ||
messages: Record<string, string> | Record<string, import("react-intl").MessageFormatElement[]>; | ||
timeZone?: string | undefined; | ||
formats?: import("react-intl").CustomFormats | undefined; | ||
messages: Record<string, string> | Record<string, import("intl-messageformat-parser").MessageFormatElement[]>; | ||
textComponent?: React.ComponentType<{}> | keyof React.ReactHTML | undefined; | ||
defaultLocale: string; | ||
defaultFormats?: import("react-intl").CustomFormats | undefined; | ||
defaultRichTextElements?: Record<string, import("intl-messageformat").FormatXMLElementFn<React.ReactNode, string | number | boolean | {} | React.ReactElement<any, string | ((props: any) => React.ReactElement<any, string | any | (new (props: any) => React.Component<any, any, any>)> | null) | (new (props: any) => React.Component<any, any, any>)> | React.ReactNodeArray | React.ReactPortal | React.ReactNode[] | null | undefined>> | undefined; | ||
onError?: import("@formatjs/intl").OnErrorFn | undefined; | ||
@@ -29,0 +29,0 @@ }; |
@@ -10,2 +10,4 @@ "use strict"; | ||
return function (d, b) { | ||
if (typeof b !== "function" && b !== null) | ||
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null"); | ||
extendStatics(d, b); | ||
@@ -12,0 +14,0 @@ function __() { this.constructor = d; } |
@@ -10,2 +10,4 @@ "use strict"; | ||
return function (d, b) { | ||
if (typeof b !== "function" && b !== null) | ||
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null"); | ||
extendStatics(d, b); | ||
@@ -12,0 +14,0 @@ function __() { this.constructor = d; } |
@@ -6,3 +6,3 @@ { | ||
"license": "ISC", | ||
"version": "2.1.0", | ||
"version": "2.1.1", | ||
"keywords": [ | ||
@@ -48,7 +48,7 @@ "component", | ||
"peerDependencies": { | ||
"enzyme": ">= 3.0.0", | ||
"react": ">= 17.0.0", | ||
"react-intl": ">= 5.0.0", | ||
"react-redux": ">= 7.2.0", | ||
"redux": ">= 4.0.0" | ||
"enzyme": ">= 3.11.0", | ||
"react": ">= 17.0.2", | ||
"react-intl": ">= 5.17.5", | ||
"react-redux": ">= 7.2.4", | ||
"redux": ">= 4.1.0" | ||
}, | ||
@@ -68,28 +68,28 @@ "peerDependenciesMeta": { | ||
"@types/enzyme": "^3.10.8", | ||
"@types/jest": "^26.0.15", | ||
"@types/react": "^16.9.56", | ||
"@types/react-redux": "^7.1.11", | ||
"@typescript-eslint/eslint-plugin": "^4.8.1", | ||
"@wojtekmaj/enzyme-adapter-react-17": "^0.3.1", | ||
"cross-env": "^7.0.2", | ||
"@types/jest": "^26.0.23", | ||
"@types/react": "^17.0.5", | ||
"@types/react-redux": "^7.1.16", | ||
"@typescript-eslint/eslint-plugin": "^4.23.0", | ||
"@wojtekmaj/enzyme-adapter-react-17": "^0.6.1", | ||
"cross-env": "^7.0.3", | ||
"enzyme": "^3.11.0", | ||
"enzyme-to-json": "^3.6.1", | ||
"eslint": "^7.13.0", | ||
"eslint-config-voodoocreation": "^1.2.0", | ||
"enzyme-to-json": "^3.6.2", | ||
"eslint": "^7.26.0", | ||
"eslint-config-voodoocreation": "^2.0.1", | ||
"eslint-plugin-import": "^2.22.1", | ||
"eslint-plugin-jest": "^24.1.3", | ||
"eslint-plugin-jest": "^24.3.6", | ||
"eslint-plugin-jsx-a11y": "^6.4.1", | ||
"eslint-plugin-prefer-arrow": "^1.2.2", | ||
"eslint-plugin-react": "^7.21.5", | ||
"eslint-plugin-prefer-arrow": "^1.2.3", | ||
"eslint-plugin-react": "^7.23.2", | ||
"eslint-plugin-react-hooks": "^4.2.0", | ||
"jest": "^26.6.3", | ||
"npm-run-all": "^4.1.5", | ||
"prettier": "^2.1.2", | ||
"react": "^17.0.1", | ||
"react-dom": "^17.0.1", | ||
"react-intl": "^5.10.1", | ||
"react-redux": "^7.2.2", | ||
"redux": "^4.0.5", | ||
"ts-jest": "^26.4.4", | ||
"typescript": "^4.0.5", | ||
"prettier": "^2.3.0", | ||
"react": "^17.0.2", | ||
"react-dom": "^17.0.2", | ||
"react-intl": "^5.17.5", | ||
"react-redux": "^7.2.4", | ||
"redux": "^4.1.0", | ||
"ts-jest": "^26.5.6", | ||
"typescript": "^4.2.4", | ||
"typescript-fsa": "^3.0.0", | ||
@@ -99,4 +99,4 @@ "typescript-fsa-reducers": "^1.2.2" | ||
"dependencies": { | ||
"ts-deepmerge": "^1.0.6" | ||
"ts-deepmerge": "^1.0.8" | ||
} | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
757
41084
Updatedts-deepmerge@^1.0.8