-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Could not parse CSS @layer during jest test after upgrading to 10.0.5 #5156
Labels
Component: Test
Issue or pull request is related to Component Testing
Resolution: Workaround
Issue or pull request contains a workaround. It needs to be reviewed further by Core Team
Comments
FAMSTM
added
the
Status: Needs Triage
Issue will be reviewed by Core Team and a relevant label will be added as soon as possible
label
Oct 25, 2023
FAMSTM
changed the title
Replace_With_Component_Name: Brief_Bug_Description
Could not parse CSS stylesheet in 10.0.5 during jest test
Oct 25, 2023
FAMSTM
changed the title
Could not parse CSS stylesheet in 10.0.5 during jest test
Could not parse CSS stylesheet during jest test after upgrading to 10.0.5
Oct 25, 2023
FAMSTM
changed the title
Could not parse CSS stylesheet during jest test after upgrading to 10.0.5
Could not parse CSS @layer during jest test after upgrading to 10.0.5
Oct 25, 2023
melloware
added
Component: Test
Issue or pull request is related to Component Testing
and removed
Status: Needs Triage
Issue will be reviewed by Core Team and a relevant label will be added as soon as possible
labels
Oct 25, 2023
melloware
added
the
Resolution: Workaround
Issue or pull request contains a workaround. It needs to be reviewed further by Core Team
label
Oct 25, 2023
There's an alternative solution that @mertsincan posted in this PrimeVue issue. I couldn't apply it on the React side but you might have better luck. |
Thank you, I used this method primefaces/primevue#4512 (comment) |
@FAMSTM Oh we tried to use the same thing here on PrimeReact and it didn't work. Can you post what you did for React? |
tobiasbriones
added a commit
to tobiasbriones/vehicle-registry-web
that referenced
this issue
Nov 24, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Component: Test
Issue or pull request is related to Component Testing
Resolution: Workaround
Issue or pull request contains a workaround. It needs to be reviewed further by Core Team
Describe the bug
I'm getting this error after upgrading from 9.6.2 to 10.0.5 during a jest testing-library test run on datatable component (jsdom cannot parse @layer in CSS):
Reproducer
https://codesandbox.io/p/sandbox/testing-with-jest-forked-lpzj27
PrimeReact version
10.0.5
React version
17.x
Language
TypeScript
Build / Runtime
Create React App (CRA)
Browser(s)
Chrome 118
Steps to reproduce the behavior
yarn test
=> the error will be displayed
Expected behavior
No error
The text was updated successfully, but these errors were encountered: