How do I ignore .test.ts/test.tsx files when app is not being unit tested? #12880
              
                Unanswered
              
          
                  
                    
                      moonman239
                    
                  
                
                  asked this question in
                Q&A
              
            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.
-
When I run "npm start", I get an error in the browser related to one of my .test.tsx files. For obvious reasons, I'd prefer that whatever programs are processing my React source code ignore all files ending in .test.tsx.
However, I also don't want Jest to ignore those same files.
So what should I do?
Beta Was this translation helpful? Give feedback.
All reactions