jest-styled-components
- Version 7.2.0
 - Published
 - 32.6 kB
 - 1 dependency
 - MIT license
 
Install
npm i jest-styled-componentsyarn add jest-styled-componentspnpm add jest-styled-componentsOverview
Jest utilities for Styled Components
Index
Variables
variable styleSheetSerializer
const styleSheetSerializer: any;Interfaces
interface StyledComponentsSerializerOptions
interface StyledComponentsSerializerOptions {}property addStyles
addStyles?: boolean;property classNameFormatter
classNameFormatter?: (index: number) => string;Namespaces
namespace global
namespace global {}namespace global.jest
namespace global.jest {}interface AsymmetricMatcher
interface AsymmetricMatcher {}interface Matchers
interface Matchers<R, T> {}method toHaveStyleRule
toHaveStyleRule: (property: string, value?: Value, options?: Options) => R;interface Options
interface Options {}type Value
type Value = string | number | RegExp | AsymmetricMatcher | undefined;Package Files (1)
Dependencies (1)
Dev Dependencies (28)
- @babel/core
 - @babel/eslint-parser
 - @babel/preset-env
 - @babel/preset-react
 - @testing-library/react
 - @types/styled-components
 - @wojtekmaj/enzyme-adapter-react-17
 - babel-jest
 - babel-plugin-styled-components
 - enzyme
 - enzyme-adapter-preact-pure
 - enzyme-to-json
 - eslint
 - eslint-config-prettier
 - eslint-plugin-prettier
 - husky-v4
 - jest
 - lint-staged
 - preact
 - preact-render-to-json
 - prettier
 - pretty-format
 - react
 - react-dom
 - react-is
 - react-native
 - react-test-renderer
 - styled-components
 
Peer Dependencies (1)
Badge
To add a badge like this oneto your package's README, use the codes available below.
You may also use Shields.io to create a custom badge linking to https://www.jsdocs.io/package/jest-styled-components.
- Markdown[](https://www.jsdocs.io/package/jest-styled-components)
 - HTML<a href="https://www.jsdocs.io/package/jest-styled-components"><img src="https://img.shields.io/badge/jsDocs.io-reference-blue" alt="jsDocs.io"></a>
 
- Updated .
Package analyzed in 2125 ms. - Missing or incorrect documentation? Open an issue for this package.
 
