0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-10 23:36:14 -05:00
ghost/test
Naz 23ba543abd Removed forceStart in theme e2e tests
refs https://github.com/TryGhost/Toolbox/issues/135

- The reason the test **settings** test was failing when the force start flag was removed in the **custom themes** was the bridge! The bridge was trying to execute function on the frontend when the boot was done without initializing the frontend. The setting test was changing locale and the timezone which triggered events calling up on frontend components - we clearly don't want to do this when the instance is booted without the frontend
- To make event initialization conditional moved it to the "init". This way the event listeners are only set up when we boot with the "frontend" flag set to true
2021-11-22 14:51:23 +04:00
..
e2e-api Removed forceStart in theme e2e tests 2021-11-22 14:51:23 +04:00
e2e-frontend Force start in email route tests to pick up stubbed API 2021-11-17 10:51:46 +00:00
e2e-server Fixed ETag header for admin templates not changing between versions (#13680) 2021-10-22 14:25:58 +01:00
integration Removed unnecessary load of settings 2021-11-19 10:47:21 +00:00
regression Removed unneeded mocks 2021-11-22 21:56:32 +13:00
unit Added writeDisabled flag to URL file cache 2021-11-22 21:56:32 +13:00
utils Renamed withBackend/withFrotned to backend/frontend 2021-11-22 21:56:32 +13: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