mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-01-05 18:34:39 +03:00
e4a1797085
no issue - removes should-sinon dependency from package.json - rewrites all usages of should-sinon to use normal should assertions Unfortunately, should-sinon has very minimal documentation and therefore it is hard to discern what is considered a correctly-written assertion: - in some cases, refactoring to use should-sinon causes false positives - in other cases, assertions that work written in the normal way fail when written using should-sinon (e.g. getters, combos with rewire) The additional overhead created by these issues outweigh any benefit from the easier-to-read assertions |
||
---|---|---|
.. | ||
functional | ||
integration | ||
unit | ||
utils | ||
.jshintrc |