Reset database (mockgoose.helper.reset(); equivalent) #452
Answered
by
hasezoey
ismail-codinglab
asked this question in
Q&A
-
What is your question?How do i reset the database (a.k.a. empty all of the collections) |
Beta Was this translation helpful? Give feedback.
Answered by
hasezoey
Feb 27, 2021
Replies: 1 comment
-
here what can be done, in order (from 1 best to lowest) that should be done
|
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
hasezoey
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
here what can be done, in order (from 1 best to lowest) that should be done
uuidv4
)ephermeralForTest
, for others the files need to be also cleaned) [this should be avoided, because it would slow down test]