0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-17 23:44:39 -05:00
ghost/test/unit
Hannah Wolfe e68cb8b314
Improved settings cache unit tests
- settings cache was appearing as untested because we use rewire!
- rewire was totally unnecessary in this case, so I removed it
- updated to 100% test coverage whilst there, including removing one unreachable branch
- commented some undesirable behaviour I found whilst trying to reach all branches
- I don't want to change the behaviour to return false correctly without having a reason beyond improving coverage
2022-03-23 11:37:52 +00:00
..
api Added default serializer + handling 2022-03-22 13:52:32 +00:00
frontend Aliased canary endpoints to point to non-versioned URLs 2022-03-14 21:22:54 +13:00
server Enabled Admin integration for tiers and offers API (#14325) 2022-03-16 16:46:26 +05:30
shared Improved settings cache unit tests 2022-03-23 11:37:52 +00:00