Ghost/test
Hannah Wolfe 49f20820ef
Fixed & unskipped subdirectory tests w/ new boot
refs: f1be3418d9

- Since I refactored the boot process & subsequently the test tools, I have been hitting an issue where subdirectory tests don't work if the app has already been started without a subdirectory
- Turns out it's due to the rootApp getting cached, and not replaced no matter what you do, even though if you debug it _looks_ like it's been replaced
- This makes sense as the rootApp is in a separate file and therefore subject to the node module cache and we're using const everywhere
- Therefore, I have added a single line to the test utils to destroy this cache for this file, and the tests now work perfectly
- Next: refactor the test utilities some more to make all this much, much more straightforward and easy to understand
2021-05-26 14:31:21 +01:00
..
api-acceptance Replaced members 'comped' status with 'paid' 2021-05-19 18:49:18 +01:00
frontend-acceptance Updated tests for member endpoint 2021-05-13 15:35:14 +05:30
regression Fixed & unskipped subdirectory tests w/ new boot 2021-05-26 14:31:21 +01:00
unit Refactored scheduling index files into class/initializer pattern 2021-05-25 22:32:41 +04:00
utils Fixed & unskipped subdirectory tests w/ new boot 2021-05-26 14:31:21 +01:00
.eslintignore Move tests from core to root (#11700) 2020-03-30 16:26:47 +01:00
.eslintrc.js Enabled no-skipped-tests eslint rule [warn] 2021-05-07 19:24:23 +01:00
.jshintrc Move tests from core to root (#11700) 2020-03-30 16:26:47 +01:00