mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-22 10:21:36 +03:00
fb044e6d88
refs #9389 - https://github.com/sinonjs/sinon/blob/master/CHANGELOG.md Breaking changes for Ghost: - no need to create a sandbox anymore, each file get's it's own sandbox - just require sinon and use this sandbox - you can still create separate sandboxes with .createSandbox - reset single stubs: use .resetHistory instead of .reset This is a global replace for any sandbox creation. --- From https://sinonjs.org/releases/v7.2.3/sandbox/ > Default sandbox > Since sinon@5.0.0, the sinon object is a default sandbox. Unless you have a very advanced setup or need a special configuration, you probably want to just use that one. |
||
---|---|---|
.. | ||
amp_url_spec.js | ||
asset_url_spec.js | ||
author_fb_url_spec.js | ||
author_image_spec.js | ||
author_url_spec.js | ||
blog_logo_spec.js | ||
canonical_url_spec.js | ||
context_object_spec.js | ||
cover_image_spec.js | ||
creator_url_spec.js | ||
description_spec.js | ||
excerpt_spec.js | ||
image-dimensions_spec.js | ||
keywords_spec.js | ||
modified_date_spec.js | ||
og_image_spec.js | ||
og_type_spec.js | ||
paginated_url_spec.js | ||
published_date_spec.js | ||
rss_url_spec.js | ||
schema_spec.js | ||
structured_data_spec.js | ||
title_spec.js | ||
twitter_image_spec.js | ||
url_spec.js |