Ghost/ghost/core/test/unit/frontend/helpers
Sagar Gupta bba4743739
Removed bluebird dependency from unit tests in core (#16096)
refs https://github.com/TryGhost/Ghost/issues/14882

- Replaced `new Promise.reject()` / `new Promise.resolve()` with the
static methods `Promise.reject` / `Promise/resolve` from native promises
- Replaced `Promise.delay()` with a promisified `setTimeout()`
2023-01-23 11:23:48 +00:00
..
__snapshots__ Added logging to webmention endpoint (#16137) 2023-01-17 14:26:43 +01:00
test_tpl Updated content cta to use global accent color property 2022-09-27 09:41:54 +05:30
utils Added shouldCompileToError test util 2022-10-30 16:55:53 +00:00
asset.test.js Converted Ghost repo into a monorepo 2022-07-20 16:41:05 +02:00
authors.test.js Converted Ghost repo into a monorepo 2022-07-20 16:41:05 +02:00
body_class.test.js Converted Ghost repo into a monorepo 2022-07-20 16:41:05 +02:00
cancel_link.test.js Converted Ghost repo into a monorepo 2022-07-20 16:41:05 +02:00
comment_count.test.js Refactored shouldCompileToExpected into shared util 2022-10-30 15:26:29 +00:00
comments.test.js Fixed CDN URLs in tests 2022-09-19 14:51:31 +01:00
concat.test.js Converted Ghost repo into a monorepo 2022-07-20 16:41:05 +02:00
content.test.js 🐛 Fixed missing accent color for default content cta (#15611) 2022-10-13 13:42:21 +05:30
date.test.js Converted Ghost repo into a monorepo 2022-07-20 16:41:05 +02:00
encode.test.js Converted Ghost repo into a monorepo 2022-07-20 16:41:05 +02:00
excerpt.test.js Refactored shouldCompileToExpected into shared util 2022-10-30 15:26:29 +00:00
facebook_url.test.js Converted Ghost repo into a monorepo 2022-07-20 16:41:05 +02:00
foreach.test.js Refactored shouldCompileToExpected into shared util 2022-10-30 15:26:29 +00:00
get.test.js Removed bluebird dependency from unit tests in core (#16096) 2023-01-23 11:23:48 +00:00
ghost_foot.test.js Converted Ghost repo into a monorepo 2022-07-20 16:41:05 +02:00
ghost_head.test.js Updated ghost head test to ignore Portal/Search version (#15777) 2022-11-07 15:09:26 +01:00
has.test.js Converted Ghost repo into a monorepo 2022-07-20 16:41:05 +02:00
img_url.test.js Added format option to img-url helper (#14962) 2022-08-01 14:45:54 +02:00
is.test.js Converted Ghost repo into a monorepo 2022-07-20 16:41:05 +02:00
link_class.test.js Converted Ghost repo into a monorepo 2022-07-20 16:41:05 +02:00
link.test.js Fixed the typo 2022-08-04 15:38:32 +01:00
match.test.js Refactored shouldCompileToExpected into shared util 2022-10-30 15:26:29 +00:00
meta_description.test.js Converted Ghost repo into a monorepo 2022-07-20 16:41:05 +02:00
meta_title.test.js Converted Ghost repo into a monorepo 2022-07-20 16:41:05 +02:00
navigation.test.js Converted Ghost repo into a monorepo 2022-07-20 16:41:05 +02:00
next_post.test.js Removed bluebird dependency from unit tests in core (#16096) 2023-01-23 11:23:48 +00:00
page_url.test.js Converted Ghost repo into a monorepo 2022-07-20 16:41:05 +02:00
pagination.test.js Converted Ghost repo into a monorepo 2022-07-20 16:41:05 +02:00
plural.test.js Converted Ghost repo into a monorepo 2022-07-20 16:41:05 +02:00
post_class.test.js Converted Ghost repo into a monorepo 2022-07-20 16:41:05 +02:00
prev_post.test.js Removed bluebird dependency from unit tests in core (#16096) 2023-01-23 11:23:48 +00:00
price.test.js Added shouldCompileToError test util 2022-10-30 16:55:53 +00:00
raw.test.js Converted Ghost repo into a monorepo 2022-07-20 16:41:05 +02:00
reading_time.test.js Converted Ghost repo into a monorepo 2022-07-20 16:41:05 +02:00
search.test.js Refactored shouldCompileToExpected into shared util 2022-10-30 15:26:29 +00:00
t.test.js Converted Ghost repo into a monorepo 2022-07-20 16:41:05 +02:00
tags.test.js Converted Ghost repo into a monorepo 2022-07-20 16:41:05 +02:00
tiers.test.js Converted Ghost repo into a monorepo 2022-07-20 16:41:05 +02:00
title.test.js Converted Ghost repo into a monorepo 2022-07-20 16:41:05 +02:00
total_members.test.js Converted Ghost repo into a monorepo 2022-07-20 16:41:05 +02:00
total_paid_members.test.js Converted Ghost repo into a monorepo 2022-07-20 16:41:05 +02:00
twitter_url.test.js Converted Ghost repo into a monorepo 2022-07-20 16:41:05 +02:00
url.test.js Removed bluebird dependency from unit tests in core (#16096) 2023-01-23 11:23:48 +00:00