Ghost/core/test/utils/mocks/index.js
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

4 lines
110 B
JavaScript

exports.utils = require('./utils');
exports.express = require('./express');
exports.knex = require('./knex');