You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would like to run Cypress with razzle js. Therefore I followed the instructions from here #1700
My problem is, I would like to use test-specific environment variables. So I added a new .env.test file and tried to load it.
Unfortunatelly, this file will never load outside of the razzle test unit tests.
I tried following script from the mentioned instructions in package.json:
❓Question
I would like to run Cypress with razzle js. Therefore I followed the instructions from here #1700
My problem is, I would like to use test-specific environment variables. So I added a new
.env.test
file and tried to load it.Unfortunatelly, this file will never load outside of the
razzle test
unit tests.I tried following script from the mentioned instructions in
package.json
:I also added
NODE_ENV
But the
.env.test
file never gets loaded.How can I load this
.env.test
file when starting or building my razzle app?The text was updated successfully, but these errors were encountered: