Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

@starting-style - Error: :1:1329: missing '}' #447

Open
jantimon opened this issue Jun 5, 2024 · 0 comments
Open

@starting-style - Error: :1:1329: missing '}' #447

jantimon opened this issue Jun 5, 2024 · 0 comments

Comments

@jantimon
Copy link
Contributor

jantimon commented Jun 5, 2024

Using the new @starting-style css feature 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)
at Object.$b499486c7f02abe7$export$98e6a39c04603d36 (project/node_modules/@adobe/css-tools/dist/src/parse/index.ts:768:20)
at getCSS (project/node_modules/jest-styled-components/src/utils.js:42:26)

I created prs to fix the issue in several repositories:

Could you please take a look at the last one for jest-styled-components #446

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant