{"_id":"jest-styled-components@7.4.1","bugs":{"url":"https://github.com/styled-components/jest-styled-components/issues"},"dist":{"shasum":"ecace0145afd560ceb370a15df3b73a21820f569","tarball":"http://registry-npm.ywwl.com/jest-styled-components/download/jest-styled-components-7.4.1.tgz","fileCount":18,"integrity":"sha512-g9XoVjRxAYp2m9U+OgxL3zGy+Cva48SWzV9bsmj+0Bg57PxE5qZwX7jKta3vjKVLjxyGegbwf0hLlvpfHh5UyQ==","signatures":[{"sig":"MEYCIQCwuF+qXoXJsaNnmLYJKIZN+MEauwFvIFKoJhI38dF/dQIhAIvviEyEfyeQMaPvl3d3wEC1xs94DjC/P+Dv/f0im32X","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIClTVLbjSq/TTbllUxfNMJhuRFo32r1zmWX7VyiTvSNBAiEA9BLnZzhwlDGsbZRyNiwFIug6/CGZINiEQg99ZZgKFXw="}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/jest-styled-components@7.4.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":59068,"size":17354,"noattachment":false,"key":"/jest-styled-components/-/jest-styled-components-7.4.1.tgz"},"jest":{"setupFiles":["<rootDir>/test/__mocks__/requestAnimationFrame.js"],"testEnvironment":"jsdom","moduleNameMapper":{"^styled-components$":"<rootDir>/node_modules/styled-components/dist/styled-components.browser.cjs.js"},"setupFilesAfterEnv":["<rootDir>/test/setup.js"],"snapshotSerializers":["enzyme-to-json/serializer"],"testPathIgnorePatterns":["<rootDir>/test/native","<rootDir>/test/preact","<rootDir>/test/vitest"]},"main":"./src/index.js","name":"jest-styled-components","type":"commonjs","types":"./typings/index.d.ts","author":"Michele Bertoli","engines":{"node":">= 12"},"license":"MIT","scripts":{"test":"pnpm test:web && pnpm test:web:server-build && pnpm test:native && pnpm test:preact && pnpm test:vitest && pnpm lint:pkg","lint:pkg":"publint && attw --pack . --quiet","test:web":"jest --color --silent","test:native":"jest --color --silent --config .jest.native.json","test:preact":"jest --color --silent --config .jest.preact.json","test:vitest":"pnpm --filter vitest-entry test","test:web:watch":"jest --watch","test:web:server-build":"jest --color --silent --moduleNameMapper='{}' --testNamePattern='^(?!.*createGlobalStyle)'"},"version":"7.4.1","_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"00f82f3f-a5aa-400a-8164-61cc4a152b0b"}},"repository":{"url":"github:styled-components/jest-styled-components","type":"git"},"description":"Jest utilities for Styled Components","directories":{},"lint-staged":{"{src,native,serializer,vitest,cache}/**/*.js":["biome check --write --no-errors-on-unmatched --files-ignore-unknown=true"]},"maintainers":[{"name":"michelebertoli","email":"michele@berto.li"},{"name":"mxstbr","email":"contact@mxstbr.com"},{"name":"probablyup","email":"ej@quantizor.dev"},{"name":"philpl","email":"phil@kitten.sh"}],"dependencies":{"@adobe/css-tools":"^4.4.0"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","husky":"^9.1.7","react":"18.2.0","enzyme":"^3.6.0","preact":"^10.0.0-beta.2","publint":"^0.3.18","react-dom":"18.2.0","babel-jest":"^29.7.0","@babel/core":"^7.0.0","lint-staged":"^15.5.2","react-native":"~0.71","pretty-format":"^29.7.0","@biomejs/biome":"^2.4.8","enzyme-to-json":"^3.3.1","@changesets/cli":"^2.30.0","@babel/preset-env":"^7.16.4","styled-components":"^6.6.0","@babel/preset-react":"^7.0.0","react-test-renderer":"18.2.0","@arethetypeswrong/cli":"^0.18.2","preact-render-to-json":"^3.6.6","@testing-library/react":"^12.1.2","jest-environment-jsdom":"^29.7.0","@changesets/changelog-git":"^0.2.1","enzyme-adapter-preact-pure":"^3.3.0","@cfaester/enzyme-adapter-react-18":"^0.8.0","@babel/plugin-transform-flow-strip-types":"^7.0.0"},"peerDependencies":{"styled-components":">= 5"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/jest-styled-components_7.4.1_1793754727449_0.8043467736517077"},"readme":"[![NPM version](https://img.shields.io/npm/v/jest-styled-components.svg)](https://www.npmjs.com/package/jest-styled-components)\n[![CI](https://github.com/styled-components/jest-styled-components/actions/workflows/ci.yml/badge.svg)](https://github.com/styled-components/jest-styled-components/actions/workflows/ci.yml)\n\n# jest-styled-components\n\nTesting utilities for [styled-components](https://github.com/styled-components/styled-components) (v5+). Works with Jest, Vitest, and Bun.\n\nstyled-components is largely maintained by one person. Please help fund the project for consistent long-term support and updates: [Open Collective](https://opencollective.com/styled-components)\n\n---\n\n**The problem:** styled-components snapshots contain opaque hashed class names and no CSS rules. When styles change, diffs show meaningless class name changes.\n\n**The solution:** This library inlines actual CSS rules into snapshots with deterministic class placeholders (`c0`, `c1`, `k0`, `k1`) and provides a `toHaveStyleRule` matcher for asserting specific style values.\n\n```diff\n- Snapshot\n+ Received\n\n .c0 {\n-  color: green;\n+  color: blue;\n }\n\n <button\n   class=\"c0\"\n />\n```\n\n## Table of Contents\n\n- [Installation](#installation)\n- [Setup](#setup)\n- [Quick Example](#quick-example)\n- [Snapshot Testing](#snapshot-testing)\n- [toHaveStyleRule](#tohavestylerule)\n- [React Native](#react-native)\n- [Advanced Usage](#advanced-usage)\n- [Version Compatibility](#version-compatibility)\n- [Troubleshooting](#troubleshooting)\n- [Legacy: Enzyme](#legacy-enzyme)\n\n## Installation\n\n```sh\nnpm install --save-dev jest-styled-components\n```\n```sh\npnpm add -D jest-styled-components\n```\n```sh\nyarn add -D jest-styled-components\n```\n```sh\nbun add -D jest-styled-components\n```\n\n## Setup\n\nImport once in a setup file to register the snapshot serializer and `toHaveStyleRule` matcher globally.\n\n### Jest\n\n```js\n// setupTests.js\nimport 'jest-styled-components'\n```\n\n```js\n// jest.config.js\nmodule.exports = {\n  testEnvironment: 'jsdom',\n  setupFilesAfterEnv: ['<rootDir>/setupTests.js'],\n}\n```\n\nNote: Jest 27+ defaults to the `node` environment. styled-components requires a DOM, so `testEnvironment: 'jsdom'` is required. You may also need to install `jest-environment-jsdom` separately for Jest 28+.\n\n### Vitest\n\n```js\n// setupTests.ts\nimport 'jest-styled-components/vitest'\n```\n\n```ts\n// vitest.config.ts\nimport { defineConfig } from 'vitest/config'\n\nexport default defineConfig({\n  test: {\n    setupFiles: ['./setupTests.ts'],\n  },\n})\n```\n\nThe Vitest entry point imports `expect` and `beforeEach` from Vitest explicitly. TypeScript types are included.\n\n### Bun\n\n```js\n// setupTests.ts\nimport 'jest-styled-components'\n```\n\nBun provides the `expect` and `beforeEach` globals that the library hooks into. Configure `preload` in your `bunfig.toml`:\n\n```toml\n[test]\npreload = [\"./setupTests.ts\"]\n```\n\nBun releases through 1.4.4 don't implement the snapshot serializer API, so `toHaveStyleRule` works and snapshots keep hashed class names with no CSS. Upgrade to a later release to get inlined CSS in snapshots.\n\n`toHaveStyleRule` can't find `createGlobalStyle` rules under Bun on styled-components 6.6.0.\n\n### Browser build for `createGlobalStyle`\n\nAdd this setup only if your tests assert `createGlobalStyle` rules and you use styled-components v5, 6.0 through 6.2, or 6.4.0 and later. Jest and Vitest load the Node server build of `styled-components`, which does not inject these rules during a client render on those versions. The browser build does.\n\nThe setup has costs:\n\n- **Server rendering.** The browser build throws when code renders in a Node environment with no `document`, including `renderToString` and `ServerStyleSheet.interleaveWithNodeStream`. Run those tests in a separate Jest or Vitest project without this setup.\n- **Snapshots.** A global style that targets a component adds its rule to that component's snapshot and renumbers its class placeholders. Review and update those snapshots once.\n\n**Jest**\n\n```js\n// jest.config.js\nmodule.exports = {\n  testEnvironment: 'jsdom',\n  setupFilesAfterEnv: ['<rootDir>/setupTests.js'],\n  moduleNameMapper: {\n    '^styled-components$': require.resolve(\n      'styled-components/dist/styled-components.browser.cjs.js'\n    ),\n  },\n}\n```\n\nResolution happens before any import, so a test file can import `styled-components` and this package in either order.\n\n**Vitest**\n\n```ts\n// vitest.config.ts\nimport { createRequire } from 'node:module'\nimport { defineConfig } from 'vitest/config'\n\nconst require = createRequire(import.meta.url)\n\nexport default defineConfig({\n  resolve: {\n    alias: [\n      {\n        find: /^styled-components$/,\n        replacement: require.resolve(\n          'styled-components/dist/styled-components.browser.cjs.js'\n        ),\n      },\n    ],\n  },\n  test: {\n    environment: 'jsdom',\n    server: {\n      deps: {\n        inline: ['jest-styled-components'],\n      },\n    },\n    setupFiles: ['./setupTests.ts'],\n  },\n})\n```\n\nInstall `jsdom` as a dev dependency. `server.deps.inline` makes Vite process the Vitest entry, so the entry follows the alias and the matcher reads the same sheet as the test. Use the alias, this setting, and the `jest-styled-components/vitest` import together. With the alias alone, or with the main `jest-styled-components` import, the matcher reads the server build's separate sheet: `toHaveStyleRule` reports that no rules were found, and snapshots keep hashed class names with no CSS.\n\nThe alias reaches only modules that Vite processes, which has a further cost under Vitest:\n\n- **Component libraries.** A library in `node_modules` that uses styled-components stays on the Node build, so `toHaveStyleRule` finds no rules on its components. Add an ES module library to `server.deps.inline`. A CommonJS library can't follow the alias, so a project that asserts on its components can't use this setup.\n\n## Quick Example\n\n```js\nimport React from 'react'\nimport styled from 'styled-components'\nimport { render } from '@testing-library/react'\nimport 'jest-styled-components'\n\nconst Button = styled.button`\n  color: red;\n`\n\ntest('it works', () => {\n  const { container } = render(<Button />)\n  expect(container.firstChild).toMatchSnapshot()\n  expect(container.firstChild).toHaveStyleRule('color', 'red')\n})\n```\n\n## Snapshot Testing\n\nThe serializer replaces hashed class names with sequential placeholders (`c0`, `c1` for classes, `k0`, `k1` for keyframes) and prepends the matching CSS rules to the snapshot output. This works with `@testing-library/react`, `react-test-renderer`, and Enzyme.\n\n### Theming\n\nWrap with `ThemeProvider` as you would in your app:\n\n```js\nimport { ThemeProvider } from 'styled-components'\n\nconst theme = { main: 'mediumseagreen' }\n\ntest('themed component', () => {\n  const { container } = render(\n    <ThemeProvider theme={theme}>\n      <Button />\n    </ThemeProvider>\n  )\n  expect(container.firstChild).toHaveStyleRule('color', 'mediumseagreen')\n})\n```\n\n## toHaveStyleRule\n\n```\nexpect(element).toHaveStyleRule(property, value?, options?)\n```\n\nAsserts that a CSS property has the expected value on a styled component. The `value` argument accepts a string, RegExp, asymmetric matcher (e.g. `expect.stringContaining()`), or `undefined` to assert the property is not set. When used with `.not`, `value` is optional.\n\n```js\nconst Button = styled.button`\n  color: red;\n  border: 0.05em solid ${props => props.transparent ? 'transparent' : 'black'};\n  cursor: ${props => !props.disabled && 'pointer'};\n  opacity: ${props => props.disabled && '.65'};\n`\n\ntest('default styles', () => {\n  const { container } = render(<Button />)\n  expect(container.firstChild).toHaveStyleRule('color', 'red')\n  expect(container.firstChild).toHaveStyleRule('border', '0.05em solid black')\n  expect(container.firstChild).toHaveStyleRule('cursor', 'pointer')\n  expect(container.firstChild).not.toHaveStyleRule('opacity')\n  expect(container.firstChild).toHaveStyleRule('opacity', undefined)\n})\n\ntest('prop-dependent styles', () => {\n  const { container } = render(<Button disabled transparent />)\n  expect(container.firstChild).toHaveStyleRule('border', expect.stringContaining('transparent'))\n  expect(container.firstChild).toHaveStyleRule('cursor', undefined)\n  expect(container.firstChild).toHaveStyleRule('opacity', '.65')\n})\n```\n\n### Options\n\nThe third argument targets rules within at-rules, with selector modifiers, or by raw CSS selector.\n\n| Option | Type | Description |\n|---|---|---|\n| `container` | `string` | Match within a `@container` at-rule, e.g. `'(min-width: 400px)'` |\n| `layer` | `string` | Match within a `@layer` at-rule, e.g. `'utilities'` |\n| `media` | `string` | Match within a `@media` at-rule, e.g. `'(max-width: 640px)'` |\n| `supports` | `string` | Match within a `@supports` at-rule, e.g. `'(display: grid)'` |\n| `modifier` | `string \\| css` | Refine the selector: pseudo-selectors, combinators, `&` references, or the `css` helper for component selectors |\n| `namespace` | `string` | Match rules prefixed by a `StyleSheetManager` namespace, e.g. `'#app'` |\n| `selector` | `string` | Match by raw CSS selector instead of component class. Useful for `createGlobalStyle` |\n\n### media and modifier\n\n```js\nconst Button = styled.button`\n  @media (max-width: 640px) {\n    &:hover {\n      color: red;\n    }\n  }\n`\n\ntest('media + modifier', () => {\n  const { container } = render(<Button />)\n  expect(container.firstChild).toHaveStyleRule('color', 'red', {\n    media: '(max-width:640px)',\n    modifier: ':hover',\n  })\n})\n```\n\n### supports\n\n```js\nconst Layout = styled.div`\n  @supports (display: grid) {\n    display: grid;\n  }\n`\n\ntest('supports query', () => {\n  const { container } = render(<Layout />)\n  expect(container.firstChild).toHaveStyleRule('display', 'grid', {\n    supports: '(display:grid)',\n  })\n})\n```\n\n### container\n\n```js\nconst Card = styled.div`\n  container-type: inline-size;\n  @container (min-width: 400px) {\n    font-size: 1.5rem;\n  }\n`\n\ntest('container query', () => {\n  const { container } = render(<Card />)\n  expect(container.firstChild).toHaveStyleRule('font-size', '1.5rem', {\n    container: '(min-width: 400px)',\n  })\n})\n```\n\n### layer\n\n```js\nconst Themed = styled.div`\n  @layer utilities {\n    color: red;\n  }\n`\n\ntest('layer query', () => {\n  const { container } = render(<Themed />)\n  expect(container.firstChild).toHaveStyleRule('color', 'red', {\n    layer: 'utilities',\n  })\n})\n```\n\n### namespace (StyleSheetManager)\n\nWhen using `StyleSheetManager` with a `namespace` prop, all CSS selectors are prefixed with the namespace. Pass `namespace` so the matcher knows to expect the prefix:\n\n```js\nimport { StyleSheetManager } from 'styled-components'\n\nconst Box = styled.div`\n  color: blue;\n`\n\ntest('namespaced styles', () => {\n  const { container } = render(\n    <StyleSheetManager namespace=\"#app\">\n      <Box />\n    </StyleSheetManager>\n  )\n  expect(container.firstChild).toHaveStyleRule('color', 'blue', {\n    namespace: '#app',\n  })\n})\n```\n\nTo avoid passing `namespace` on every assertion, set it globally in your setup file:\n\n```js\nimport { setStyleRuleOptions } from 'jest-styled-components'\n\nsetStyleRuleOptions({ namespace: '#app' })\n```\n\nThis applies to all subsequent `toHaveStyleRule` calls. Individual assertions can still override with their own `namespace` option.\n\n### modifier with component selectors\n\nWhen a rule targets another styled-component, use the `css` helper:\n\n```js\nimport { css } from 'styled-components'\n\nconst Button = styled.button`\n  color: red;\n`\n\nconst ButtonList = styled.div`\n  ${Button} {\n    flex: 1 0 auto;\n  }\n`\n\ntest('nested component selector', () => {\n  const { container } = render(<ButtonList><Button /></ButtonList>)\n  expect(container.firstChild).toHaveStyleRule('flex', '1 0 auto', {\n    modifier: css`${Button}`,\n  })\n})\n```\n\nClass name overrides work similarly:\n\n```js\nconst Button = styled.button`\n  background-color: red;\n  &.override {\n    background-color: blue;\n  }\n`\n\ntest('class override', () => {\n  const { container } = render(<Button className=\"override\" />)\n  expect(container.firstChild).toHaveStyleRule('background-color', 'blue', {\n    modifier: '&.override',\n  })\n})\n```\n\n### selector (createGlobalStyle)\n\nThe `selector` option matches rules by raw CSS selector, bypassing component class name detection. This is the way to test `createGlobalStyle`:\n\n```js\nimport { createGlobalStyle } from 'styled-components'\n\nconst GlobalStyle = createGlobalStyle`\n  body {\n    background: white;\n  }\n`\n\ntest('global styles', () => {\n  render(<GlobalStyle />)\n  expect(document.documentElement).toHaveStyleRule('background', 'white', {\n    selector: 'body',\n  })\n})\n```\n\nWhen `selector` is set, the component argument is ignored---any rendered element will work as the receiver.\n\nDepending on your styled-components version, this assertion needs the [browser build](#browser-build-for-createglobalstyle).\n\n### Element selection\n\nThe matcher checks styles on the element it receives. To assert on nested elements, query for them first:\n\n```js\nconst { getByTestId } = render(<MyComponent />)\nexpect(getByTestId('inner-button')).toHaveStyleRule('color', 'blue')\n```\n\n## React Native\n\nImport the native entry point instead:\n\n```js\nimport 'jest-styled-components/native'\n```\n\nThis registers only the `toHaveStyleRule` matcher adapted for React Native's style objects (no snapshot serializer needed). It handles style arrays and converts kebab-case properties to camelCase.\n\n```js\nimport React from 'react'\nimport styled from 'styled-components/native'\nimport renderer from 'react-test-renderer'\nimport 'jest-styled-components/native'\n\nconst Label = styled.Text`\n  color: green;\n`\n\ntest('native styles', () => {\n  const tree = renderer.create(<Label />).toJSON()\n  expect(tree).toHaveStyleRule('color', 'green')\n})\n```\n\n## Advanced Usage\n\n### Standalone Serializer\n\nThe serializer can be imported separately for use with libraries like [jest-specific-snapshot](https://github.com/igor-dv/jest-specific-snapshot):\n\n```js\nimport { styleSheetSerializer } from 'jest-styled-components/serializer'\nimport { addSerializer } from 'jest-specific-snapshot'\n\naddSerializer(styleSheetSerializer)\n```\n\nWith the Vitest alias from the [browser build setup](#browser-build-for-createglobalstyle), import `jest-styled-components/vitest` as well. This export can't follow the alias by itself, so snapshots keep hashed class names with no CSS.\n\n### Serializer Options\n\n```js\nimport { setStyleSheetSerializerOptions } from 'jest-styled-components/serializer'\n\nsetStyleSheetSerializerOptions({\n  addStyles: false,                          // omit CSS from snapshots\n  classNameFormatter: (index) => `styled${index}`,  // custom class placeholders\n})\n```\n\n### CSS Parse Caching\n\nBy default, `toHaveStyleRule` re-parses the stylesheet on every assertion. For test suites with many assertions, import the cached entry point to parse once and reuse the result when the stylesheet hasn't changed:\n\n```js\nimport 'jest-styled-components/cache'\n```\n\nThe cache automatically invalidates when the stylesheet changes and when `resetStyleSheet` runs between tests. No manual cleanup needed.\n\n### resetStyleSheet\n\nThe main entry point calls `resetStyleSheet()` in a `beforeEach` hook automatically. If you use the standalone serializer or a custom test setup where `beforeEach` is not globally available, call it manually:\n\n```js\nimport { resetStyleSheet } from 'jest-styled-components'\n\nresetStyleSheet()\n```\n\n## Version Compatibility\n\n| jest-styled-components | styled-components | Test Runner |\n|---|---|---|\n| 7.2+ | 5.x, 6.x | Jest 27+, Vitest 1+, Bun |\n| 7.0--7.1 | 5.x | Jest 27+ |\n| 6.x | 4.x--5.x | Jest 24--26 |\n\n## Troubleshooting\n\n### \"No style rules found on passed Component\"\n\nThe most common issue. Check these causes in order:\n\n1. **Wrong element.** The matcher needs the actual DOM element or react-test-renderer JSON node, not a wrapper. With `@testing-library/react`, use `container.firstChild`. With Enzyme, use `mount()` (not `shallow()` for most cases).\n2. **Multiple styled-components instances.** Common in monorepos. Run `npm ls styled-components` (or `pnpm why styled-components`) to check. See the [styled-components FAQ](https://www.styled-components.com/docs/faqs#why-am-i-getting-a-warning-about-several-instances-of-module-on-the-page) for resolution.\n3. **Version mismatch.** Ensure your jest-styled-components version supports your styled-components version (see [Version Compatibility](#version-compatibility)).\n4. **Browser build setup.** A `createGlobalStyle` rule can need the browser build. Under Vitest, an incomplete setup hides every rule, and components from a library in `node_modules` need extra handling. See [Browser build for `createGlobalStyle`](#browser-build-for-createglobalstyle).\n\n### TypeScript: `toHaveStyleRule` not recognized\n\nThe package ships type declarations that augment Jest's `Matchers` interface. If TypeScript doesn't pick them up:\n\n**Jest:** Ensure your `tsconfig.json` includes the package in `types`, or that your setup file import (`import 'jest-styled-components'`) is within the TypeScript project's `include` paths.\n\n**Vitest:** Import from `jest-styled-components/vitest` (not the base entry point). This augments Vitest's `Assertion` interface.\n\n### Styles missing from snapshots\n\nIf snapshots show hashed class names instead of CSS rules, the serializer isn't registered. Verify:\n\n1. You're importing `jest-styled-components` (or `jest-styled-components/vitest` for Vitest) in your setup file.\n2. The setup file is referenced in your test runner config (`setupFilesAfterEnv` for Jest, `setupFiles` for Vitest).\n3. You don't have multiple instances of styled-components loaded (see above). An incomplete Vitest [browser build setup](#browser-build-for-createglobalstyle) causes this too.\n\n### Testing `createGlobalStyle`\n\nGlobal styles don't attach to a specific component. Use the `selector` option to match by CSS selector. Depending on your styled-components version, this needs the [browser build](#browser-build-for-createglobalstyle):\n\n```js\nrender(<GlobalStyle />)\nexpect(document.documentElement).toHaveStyleRule('background', 'white', {\n  selector: 'body',\n})\n```\n\n### Jest environment errors (`document is not defined`)\n\nJest 27+ defaults to the `node` test environment. Add `testEnvironment: 'jsdom'` to your Jest config. For Jest 28+, install `jest-environment-jsdom` as a separate dependency.\n\n## Legacy: Enzyme\n\n[Enzyme](https://github.com/enzymejs/enzyme) is no longer actively maintained. If you still use it, snapshot testing requires [enzyme-to-json](https://www.npmjs.com/package/enzyme-to-json) and `toHaveStyleRule` works with both shallow and mounted wrappers. Consider migrating to `@testing-library/react`.\n\n## Contributing\n\n[Open an issue](https://github.com/styled-components/jest-styled-components/issues/new) to discuss before submitting a PR.\n\n## License\n\nLicensed under the [MIT License](LICENSE).\n","publish_time":1793754727553,"_cnpm_publish_time":1793754727553,"dist-tags":{"beta":"7.0.0-beta.2","latest":"7.4.1","test":"7.3.2-prerelease.0"}}