Ghost/test
Hannah Wolfe 0799f02e80
Rewritten HTMLErrorRenderer w/o asset helper & template
refs: 2af9e2e12

- This new HTMLErrorRenderer is borrowed heavily from finalHandler
   - This is the module that express uses to render errors if there is no custom errorhandler
- It just renders a really simple html page wrapping err.stack in a <pre>
   - This results in a nicely formatted, but unstyled error page
- I also updated BasicErrorRenderer to use the same res.statusCode + err.stack pattern rather than err.message

Note: This error renderer is _only_ used for renderering errors on the `/ghost/` route
 - In almost all cases, errors here are rendered by Ember
 - The only error that can be rendered here is a missing template error see: 2af9e2e12
2021-11-24 13:01:06 +00:00
..
e2e-api Removed force start from themes test 2021-11-22 17:47:44 +04:00
e2e-frontend Rewritten HTMLErrorRenderer w/o asset helper & template 2021-11-24 13:01:06 +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 rewire call 2021-11-22 14:53:16 +04:00
regression Rewrote reload routes.yaml test to use async/await 2021-11-24 05:32:20 +13:00
unit Fixed invalid settings file path configuration 2021-11-24 05:32:20 +13:00
utils Removed unused parameter from isFinished method 2021-11-24 05:32:20 +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