Skip to content

Latest commit

 

History

History
12 lines (9 loc) · 655 Bytes

File metadata and controls

12 lines (9 loc) · 655 Bytes

Tests

We are using Mocha, Chai and mock-require for the tests. To keep the tests simple we are also using SQLite for integration tests. As mentioned in the Migration Details, SQLite is the reason why all migrations need to be using the queryInterface only, no raw SQL migrations. As they are ran before starting the tests.

When making integration tests make sure to truncate the tables that you will be using in a before statement for your tests.