-
I'm trying to contribute to the Payload repo by fixing an issue I reported. I already forked the project but I don't have MongoDB installed on my local machine, I use a remote MongoDB instance for my local development. So when I run Is there a way to use a
I know is not a big deal, but I guess it's more convenient to use a |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Currently, this is not possible with how we have it configured. In my mind, this would introduce variability into the tests unnecessarily. We do have the ability to use a MongoDB memory server if you were to pass |
Beta Was this translation helpful? Give feedback.
Currently, this is not possible with how we have it configured. In my mind, this would introduce variability into the tests unnecessarily.
We do have the ability to use a MongoDB memory server if you were to pass
NODE_ENV=test
as the prefix. This obviously doesn't resolve your ask for loading an .env file, though.