How do you test / develop locally? #41
-
| I don't see any mention in the docs of testing, or of running things locally. What's the story supposed to be here? | 
Beta Was this translation helpful? Give feedback.
      
      
          Answered by
          
            charlypoly
          
      
      
        Mar 10, 2023 
      
    
    Replies: 1 comment 2 replies
-
| You are right, we need to document these aspects. The short answer is that, when run locally, background functions switch back to the original definition. | 
Beta Was this translation helpful? Give feedback.
                  
                    2 replies
                  
                
            
      Answer selected by
        johtso
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment
  
        
    
You are right, we need to document these aspects.
The short answer is that, when run locally, background functions switch back to the original definition.
A background function called in dev or test mode will run synchronously, make it easier to test.