Code coverage for swc projects — especially for next.js >=14
henrikvolmer opened this issue · comments
Henrik Volmer commented
Subject
examples
Description
Unfortunately, there is currently no example to integrate Cypress code coverage for next.js with swc.
Unfortunately, next.js no longer supports the babel build (there's an open issue for server actions vercel/next.js#57966). In order to continue using Cypress, we need a solution for swc projects.
Thanks in advance.
Mike McCready commented
- This looks like a reference to the open feature request cypress-io/code-coverage#583
Henrik Volmer commented
@MikeMcC399 : This is true, but the problem has been open for 2 years. In my opinion, Cypress should give us a solution to this problem since next.js and swc are not that unpopular.
Jennifer Shehane commented
Closing as duplicate of cypress-io/code-coverage#583