atlassian-labs / compiled

A familiar and performant compile time CSS-in-JS library for React.
https://compiledcssinjs.com
Apache License 2.0
1.98k stars 68 forks source link

Fix jest matcher kebab-casing CSS custom properties #1674

Closed itsdouges closed 3 months ago

itsdouges commented 3 months ago

Previously the jest matcher would always kebab case all properties. This fixes it so it bails out if the property is a custom property.

changeset-bot[bot] commented 3 months ago

🦋 Changeset detected

Latest commit: 8dcee5ebb326fbfca5b53b6f6351b61155aee1d6

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package | Name | Type | | -------------- | ----- | | @compiled/jest | Patch |

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR