mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-21 09:52:06 +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. |
||
---|---|---|
.. | ||
authentication_spec.js | ||
configuration_spec.js | ||
db_spec.js | ||
error_spec.js | ||
invites_spec.js | ||
notifications_spec.js | ||
oembed_spec.js | ||
posts_spec.js | ||
public_api_spec.js | ||
redirects_spec.js | ||
roles_spec.js | ||
schedules_spec.js | ||
settings_spec.js | ||
slugs_spec.js | ||
spam_prevention_spec.js | ||
subscribers_spec.js | ||
tags_spec.js | ||
themes_spec.js | ||
upload_icon_spec.js | ||
upload_spec.js | ||
users_spec.js | ||
utils.js | ||
webhooks_spec.js |