Hi guys, I use Jest for unit testing, so I want to create another database for only testing. Have a solution, thanks.
prismo gif 1
🤔 1
prisma rainbow 1
👀 1
❤️ 1
parrotwave2 1
👋 1
j
JamesJ
09/26/2019, 5:05 PM
Hey Cuong, can’t you do that with a second DB and .env vars? Are you looking to set this up on localhost?
t
tmoney
09/26/2019, 5:05 PM
The way I do it with Cypress is I just have a very specific Jest user and company specific for logging in and doing Jest testing. I don’t do a completely different DB.
j
JamesJ
09/26/2019, 5:08 PM
Haven’t tried Cypress before - looks v cool. Thanks @tmoney