Does anyone have examples with mocha tests + prism...
# orm-help
y
Does anyone have examples with mocha tests + prisma + mongodb? How do you drop the database in the end for example?
k
I believe using
queryRaw
and using the
db.dropDatabase()
command should work.
<https://docs.mongodb.com/manual/reference/method/db.dropDatabase/>
. I guess using the
prisma migrate reset
command could also work just not sure it'll work when using MongoDB