Replies: 2 comments 1 reply
-
| 
         Created a bug report here.  | 
  
Beta Was this translation helpful? Give feedback.
                  
                    1 reply
                  
                
            -
| 
         I also have the same issue  | 
  
Beta Was this translation helpful? Give feedback.
                  
                    0 replies
                  
                
            
  
    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.
-
I finally got around to migrating away from
import.meta.env.*for all of my environment variables and onto the SvelteKit-recommended$end/dynamic|static/public|private. I had a number of integration tests I had written invitestthat are now breaking with the following error:My integration tests import a number of back-end modules (eg. database access code, etc...).
I am surprised by the fact that the integration tests are being treated as client code that is tripping up the server-client serialization safety mechanism.
I am at a loss as to what to do here. Any recommendations on how to address this issue? Is there any way I can turn off this safety mechanism for my integration tests?
Beta Was this translation helpful? Give feedback.
All reactions