I'm using SequalizeJS as an ORM tool in Node.j keeping static data. On app start, I run a migration script that clears the DB and re-writes everything.
However when I run my unit tests, I don't want to connect to a real DB - rather I want to mock it and keep the records in memory.
The size of the data is modest.
How would you do that with SequalizeJS?
via ChrisRich
No comments:
Post a Comment