@looker/components-test-utils
Advanced tools
Comparing version 0.9.7 to 0.9.8-alpha.44
import { RenderOptions } from '@testing-library/react'; | ||
import 'jest-styled-components'; | ||
import React from 'react'; | ||
export declare const withThemeProvider: (Component: 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>)>) => JSX.Element; | ||
export declare const createWithTheme: (Component: 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>)>) => import("react-test-renderer").ReactTestRenderer; | ||
export declare const mountWithTheme: (Component: 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>)>) => import("enzyme").ReactWrapper<any, Readonly<{}>, React.Component<{}, {}, any>>; | ||
export declare const shallowWithTheme: (Component: 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>)>) => import("enzyme").ShallowWrapper<any, Readonly<{}>, React.Component<{}, {}, any>>; | ||
export declare const renderWithTheme: (Component: 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>)>, options?: Pick<RenderOptions<typeof import("@testing-library/dom/queries")>, "container" | "baseElement" | "hydrate" | "wrapper"> | undefined) => import("@testing-library/react").RenderResult<typeof import("@testing-library/dom/queries")>; | ||
import React, { ReactElement } from 'react'; | ||
export declare const withThemeProvider: (Component: ReactElement<any>) => JSX.Element; | ||
export declare const createWithTheme: (Component: ReactElement<any>) => import("react-test-renderer").ReactTestRenderer; | ||
export declare const mountWithTheme: (Component: ReactElement<any>) => import("enzyme").ReactWrapper<any, Readonly<{}>, React.Component<{}, {}, any>>; | ||
export declare const shallowWithTheme: (Component: ReactElement<any>) => import("enzyme").ShallowWrapper<any, Readonly<{}>, React.Component<{}, {}, any>>; | ||
export declare const renderWithTheme: (Component: ReactElement<any>, options?: Pick<RenderOptions<typeof import("@testing-library/dom/types/queries")>, "container" | "baseElement" | "hydrate" | "wrapper"> | undefined) => import("@testing-library/react").RenderResult<typeof import("@testing-library/dom/types/queries")>; |
{ | ||
"name": "@looker/components-test-utils", | ||
"license": "MIT", | ||
"version": "0.9.7", | ||
"version": "0.9.8-alpha.44+aecbee65", | ||
"main": "lib/index.js", | ||
@@ -19,13 +19,13 @@ "types": "lib/index.d.ts", | ||
"devDependencies": { | ||
"@looker/components-providers": "^0.9.7", | ||
"@testing-library/react": "^10.0.4", | ||
"@looker/components-providers": "^0.9.8-alpha.44+aecbee65", | ||
"@testing-library/react": "^10.4.7", | ||
"@types/enzyme": "^3.10.5", | ||
"@types/jest": "^26.0.4", | ||
"@types/jest": "^26.0.7", | ||
"@types/react": "^16.9.41", | ||
"@types/react-test-renderer": "^16.9.2", | ||
"enzyme": "^3.11.0", | ||
"jest-styled-components": "^6.3.4", | ||
"jest-styled-components": "^7.0.2", | ||
"react": "^16.13.1", | ||
"react-test-renderer": "^16.13.1", | ||
"styled-components": "^4.4.1" | ||
"styled-components": "^5.1.1" | ||
}, | ||
@@ -35,3 +35,3 @@ "peerDependencies": { | ||
}, | ||
"gitHead": "9450e7501c02af7be24e94a5133f4d498ae59952" | ||
"gitHead": "aecbee65bd2bf897f92e5c3790b161a081a5bc96" | ||
} |
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
20019
158
1