jest-styled-components icon indicating copy to clipboard operation
jest-styled-components copied to clipboard

🔧 💅 Jest utilities for Styled Components

Results 116 jest-styled-components issues
Sort by recently updated
recently updated
newest added

**_No style rules found on passed component_** When renderer is created in the `describe`, `jest-styled-components` library is not applied. The snapshot will output as if the library is not imported,...

Came up while upgrading [jest-styled-components](https://togithub.com/styled-components/jest-styled-components) | [`7.0.8` -> `7.1.1`](https://renovatebot.com/diffs/npm/jest-styled-components/7.0.8/7.1.1) possibly related to #355 ( and in turn #419 ). It seems as though what once were separate lines, became one....

I don't know if this is a bug, or if I just can't find the answer on google. I'm trying to see if a style rule is applied to the...

**What**: Upgraded the `@adobe/css-tools` dependency to include the fix for parsing the `@starting-style` CSS feature, which was causing a "missing '}'" error. **Why**: The current version of `@adobe/css-tools` used by...

Using the [new @starting-style css feature](https://developer.mozilla.org/en-US/docs/Web/CSS/@starting-style) in styled-components crashes jest: ``` Error: :1:1329: missing '}' at error (project/node_modules/@adobe/css-tools/dist/src/parse/index.ts:79:17) at declarations (project/node_modules/@adobe/css-tools/dist/src/parse/index.ts:350:14) at rule (project/node_modules/@adobe/css-tools/dist/src/parse/index.ts:764:21) at rules (project/node_modules/@adobe/css-tools/dist/src/parse/index.ts:134:71) at stylesheet (project/node_modules/@adobe/css-tools/dist/src/parse/index.ts:98:23)...