Closed yrue closed 1 year ago
This issue has not had any activity in 180 days. Cypress evolves quickly and the reported behavior should be tested on the latest version of Cypress to verify the behavior is still occurring. It will be closed in 14 days if no updates are provided.
This issue has been closed due to inactivity.
Still a issue
Hi @testplop please open a new issue with a reproducible example and the Cypress team will be happy to investigate.
Hi,
We have a nextjs project and using component-level css. I tried with the nextjs sample and it works. But it got error as below when importing
import styles from './<component>.module.scss';
. Looks mini-css-extract-plugin issue and the log similar to https://github.com/nrwl/nx/issues/2174. Any idea?Reproduce repo: https://github.com/yrue/cypress-react-unit-test/tree/issue
"nodeVersion": "system"
to cypress.jsoncypress-react-unit-test/examples/nextjs/components/Search.module.scss
import styles from './Search.module.scss';
tocypress-react-unit-test/examples/nextjs/components/Search.jsx
npm test
and got error