Mocking your models is a great way to test your application without actually hitting the database. This repository shows how you can do this for sequelize-typescript package.
- You can check if all arguments where correctly passed to the ORM.
- You can return own defined resultsets from a mocked database call.
To see how you can create mocks for your models check out the test folder inside this repository.