mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-01-06 22:40:14 -05:00
83296c5c7e
refs https://github.com/TryGhost/Team/issues/728 - Rewire is usually a sign of massive module that is impossible to unit test without mocking big parts of that module. With a refactored UpdateCheckService and a brand new test coverage there is no need to use rewire and leave the "smell" |
||
---|---|---|
.. | ||
api | ||
exporter | ||
importer | ||
migrations | ||
models | ||
settings | ||
site | ||
update-check | ||
README.md |
Regression Tests
These tests should ensure that we don't break Ghost for all available APIs.
The goal is that most of these packages use Ghost's API's to test behaviours, otherwise transform the tests into unit tests.