0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-24 23:48:13 -05:00
ghost/core/test/utils/mocks
kirrg001 0b5cfd933f Added knex mock for unit testing
no issue

- added https://github.com/colonyamerican/mock-knex as dev dependency
- the mock serves our data generator test data by default
  - but you can define your own if you want
- we need a proper mock for unit testing
- we should not mock bookshelf if possible, otherwise we can't test event flows
2018-02-15 22:11:49 +01:00
..
express.js
index.js Added knex mock for unit testing 2018-02-15 22:11:49 +01:00
knex.js Added knex mock for unit testing 2018-02-15 22:11:49 +01:00
utils.js