Does anyone have any interesting ways they set up ...
# orm-help
m
Does anyone have any interesting ways they set up their models for tests? I configured jest so that it has a fresh DB for every test but I was wondering if anyone has come up with an interesting way to create Factories or some other way to fill in models with fake data?
I'm thinking of just creating
getFakeUser()
etc functions and just spreading them