Ghost/test/regression/api
Hannah Wolfe 0f42bbeac3
Moved acceptance test utils into own file
- starting and stopping Ghost is part of our rather unloved acceptance test framework
- moving them into their own file to make the different pieces clearer and also to start to make improvements
- first improvement had to happen as an aside - exposing the existingData property via a function and making the API clearer
- this was a weird thing set on module.exports, very hidden and hard to follow
- Note: stopGhost is only used once in the regression/modles/model_posts_spec.js file to make the test run fast enough...
- These tests are effectively "DB integration" tests e.g. non-unit tests because they do use the DB, they need their own framework
2021-06-01 13:17:45 +01:00
..
canary Moved acceptance test utils into own file 2021-06-01 13:17:45 +01:00
v2 Moved acceptance test utils into own file 2021-06-01 13:17:45 +01:00
v3 Moved acceptance test utils into own file 2021-06-01 13:17:45 +01:00
admin_spec.js Moved i18n to shared 2021-05-04 13:03:38 +01:00