A simple mocking interface designed for applications that use the Sequelize.js library. This library allows for testing code relying on Sequelize models and mocks out basic functionality to allow for simple and straight-forward unit testing. Once Mock models have been defined, they should be drop in replacements for your Sequelize model objects. Data is not retrieved from a database and instead is returned based on the setup of the mock objects, the query being made, and other applied or included information.
2 years ago passed
.. image:: https://readthedocs.org/projects/sequelize-mock/badge/?version=stable :target: https://sequelize-mock.readthedocs.io/en/stable/?badge=stable :alt: Documentation Status
<a href='https://sequelize-mock.readthedocs.io/en/stable/?badge=stable'> <img src='https://readthedocs.org/projects/sequelize-mock/badge/?version=stable' alt='Documentation Status' /> </a>