Ghost/test
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
..
api-acceptance Moved acceptance test utils into own file 2021-06-01 13:17:45 +01:00
frontend-acceptance Used consistent patterns in acceptance tests 2021-05-27 17:54:08 +01:00
regression Moved acceptance test utils into own file 2021-06-01 13:17:45 +01:00
unit Added {monthly,yearly}_price columns to products 2021-06-01 09:38:15 +01:00
utils Moved acceptance test utils into own file 2021-06-01 13:17:45 +01:00
.eslintignore Move tests from core to root (#11700) 2020-03-30 16:26:47 +01:00
.eslintrc.js Upgraded no-skipped-test rule to error 2021-05-26 14:57:43 +01:00
.jshintrc Move tests from core to root (#11700) 2020-03-30 16:26:47 +01:00