Ghost/test/e2e-frontend
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
..
advanced_url_config.test.js Renamed our acceptance tests to "e2e" 2021-10-06 12:40:52 +01:00
default_routes.test.js Rewritten HTMLErrorRenderer w/o asset helper & template 2021-11-24 13:01:06 +00:00
email_routes.test.js Force start in email route tests to pick up stubbed API 2021-11-17 10:51:46 +00:00
members.test.js Renamed our acceptance tests to "e2e" 2021-10-06 12:40:52 +01:00
preview_routes.test.js Updated e2e tests to be async/await 2021-10-06 15:51:05 +01:00