TSX Support on AVA #3351
              
                
                  
                  
                    Answered
                  
                  by
                    novemberborn
                  
              
          
                  
                    
                      Abiji-2020
                    
                  
                
                  asked this question in
                Q&A
              
            -
| 
        
 while trying to run a test file on tsx using ava, it shows unknown file extension. my ava configuration is  | 
  
Beta Was this translation helpful? Give feedback.
      
      
          Answered by
          
            novemberborn
          
      
      
        Nov 22, 2024 
      
    
    Replies: 1 comment 1 reply
-
| 
         I'm not sure if  The error looks like the code is importing from   | 
  
Beta Was this translation helpful? Give feedback.
                  
                    1 reply
                  
                
            
      Answer selected by
        Abiji-2020
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment
  
        
    
I'm not sure if
filterNodeArgumentsForWorkerThreadsis needed or what it's meant to do, I don't see you passing the--import=tsimpargument.The error looks like the code is importing from
.tsxfile and that's not a recognized extension, which suggeststsimpisn't active. But I don't know iftsimpsupports.tsx.