0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-03 23:00:14 -05:00

Fixed unit tests failing on unknown helper

refs dc49871837

- added the `comments` helper to the experimental helpers list
This commit is contained in:
Kevin Ansfield 2022-07-04 15:42:18 +02:00
parent dc49871837
commit 3da839e80e

View file

@ -13,7 +13,7 @@ describe('Helpers', function () {
'next_post', 'page_url', 'pagination', 'plural', 'post_class', 'prev_post', 'price', 'raw', 'reading_time', 't', 'tags', 'title', 'twitter_url',
'url'
];
const experimentalHelpers = ['match', 'tiers'];
const experimentalHelpers = ['match', 'tiers', 'comments'];
const expectedHelpers = _.concat(hbsHelpers, ghostHelpers, experimentalHelpers);