0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-24 23:48:13 -05:00
ghost/core/test/utils
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
..
fixtures Contributor Role (#9315) 2018-02-07 10:46:22 +01:00
mocks Added knex mock for unit testing 2018-02-15 22:11:49 +01:00
api.js 🐛 Fixed showing old release notifications in the about page 2018-01-18 12:19:55 +01:00
assertions.js 🎉 🎨 Remove middleware/index.js (#7548) 2016-10-13 17:24:09 +02:00
channelUtils.js Changed channelsRouter to use new base class 2017-11-09 10:47:20 +00:00
configUtils.js 🔥 remove forceAdminSSL and urlSSL, add admin url (#7937) 2017-02-03 18:13:22 +00:00
index.js 🐛Fixed asset redirects (#9455) 2018-02-14 17:21:31 +01:00