How to use Cypress code coverage with Next.js using Babel only for tests and Turbopack for development? #32685
              
                Unanswered
              
          
                  
                    
                      kevinAlexanderG30
                    
                  
                
                  asked this question in
                Questions and Help
              
            Replies: 0 comments
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment
  
        
    
Uh oh!
There was an error while loading. Please reload this page.
-
Summary
I’m trying to configure Cypress code coverage in a Next.js project that uses Turbopack for development, but I want to use Babel only during testing — without affecting the dev or production builds.
I’ve been using this example as a reference:
👉 bahmutov/next-and-cypress-example
cypress.config.ts
What I need help with
Additional Info
Beta Was this translation helpful? Give feedback.
All reactions