Ghost/core/test/unit/helpers
Fabien O'Carroll 15585971e2 🐛 Fixed async helpers nested in template helpers
closes #10643

The async resolver in express-hbs relies on storing the state of the
promises on the `this` value inside of a helper, which is always set to
the `context`. This patch updates our helpers which render templates, to
use `this` as the context when rendering their templates.
2019-06-25 16:19:33 +07:00
..
test_tpl Attr pass-thru & full context in partial helpers 2019-03-09 21:21:01 +00:00
asset_spec.js Extracted frontend folder (#10780) 2019-06-19 11:30:28 +02:00
author_spec.js Extracted frontend folder (#10780) 2019-06-19 11:30:28 +02:00
authors_spec.js Extracted frontend folder (#10780) 2019-06-19 11:30:28 +02:00
body_class_spec.js Extracted frontend folder (#10780) 2019-06-19 11:30:28 +02:00
content_spec.js Extracted frontend folder (#10780) 2019-06-19 11:30:28 +02:00
date_spec.js Extracted frontend folder (#10780) 2019-06-19 11:30:28 +02:00
encode_spec.js Extracted frontend folder (#10780) 2019-06-19 11:30:28 +02:00
excerpt_spec.js Extracted frontend folder (#10780) 2019-06-19 11:30:28 +02:00
facebook_url_spec.js Extracted frontend folder (#10780) 2019-06-19 11:30:28 +02:00
foreach_spec.js Extracted frontend folder (#10780) 2019-06-19 11:30:28 +02:00
get_spec.js Extracted frontend folder (#10780) 2019-06-19 11:30:28 +02:00
ghost_foot_spec.js Extracted frontend folder (#10780) 2019-06-19 11:30:28 +02:00
ghost_head_spec.js Extracted frontend folder (#10780) 2019-06-19 11:30:28 +02:00
has_spec.js Extracted frontend folder (#10780) 2019-06-19 11:30:28 +02:00
img_url_spec.js Extracted frontend folder (#10780) 2019-06-19 11:30:28 +02:00
index_spec.js Extracted frontend folder (#10780) 2019-06-19 11:30:28 +02:00
is_spec.js Extracted frontend folder (#10780) 2019-06-19 11:30:28 +02:00
lang_spec.js Extracted frontend folder (#10780) 2019-06-19 11:30:28 +02:00
meta_description_spec.js Extracted frontend folder (#10780) 2019-06-19 11:30:28 +02:00
meta_title_spec.js Extracted frontend folder (#10780) 2019-06-19 11:30:28 +02:00
navigation_spec.js 🐛 Fixed async helpers nested in template helpers 2019-06-25 16:19:33 +07:00
next_post_spec.js Extracted frontend folder (#10780) 2019-06-19 11:30:28 +02:00
page_url_spec.js Extracted frontend folder (#10780) 2019-06-19 11:30:28 +02:00
pagination_spec.js Extracted frontend folder (#10780) 2019-06-19 11:30:28 +02:00
plural_spec.js Extracted frontend folder (#10780) 2019-06-19 11:30:28 +02:00
post_class_spec.js Extracted frontend folder (#10780) 2019-06-19 11:30:28 +02:00
prev_post_spec.js Extracted frontend folder (#10780) 2019-06-19 11:30:28 +02:00
reading_time_spec.js Extracted frontend folder (#10780) 2019-06-19 11:30:28 +02:00
t_spec.js Extracted frontend folder (#10780) 2019-06-19 11:30:28 +02:00
tags_spec.js Extracted frontend folder (#10780) 2019-06-19 11:30:28 +02:00
template_spec.js Extracted frontend folder (#10780) 2019-06-19 11:30:28 +02:00
title_spec.js Extracted frontend folder (#10780) 2019-06-19 11:30:28 +02:00
twitter_url_spec.js Extracted frontend folder (#10780) 2019-06-19 11:30:28 +02:00
url_spec.js Extracted frontend folder (#10780) 2019-06-19 11:30:28 +02:00
utils_spec.js Updated to use count words/images helpers from SDK (#10686) 2019-04-16 08:00:01 +05:30