how could i test signinup/other things that save to the DB without really saving to the DB?
r
rp
07/01/2022, 4:42 AM
Hey @BeeMoe can you further elaborate on your question?
b
BeeMoe
07/01/2022, 4:43 AM
i'm gonna edit the message
i forgot that part lol
Edited my question
r
rp
07/01/2022, 5:02 AM
Right I see. There are two ways to do that at the moment:
- override all the recipe functions to return a mocked value in testing env
- use a core without the db connection info and it will use an in memory db.
b
BeeMoe
07/01/2022, 5:06 AM
2nd option seems easier, i have to use the core config to do that right?
r
rp
07/01/2022, 5:34 AM
yes
rather, you have to remove stuff from the core's config