mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-18 16:01:40 +03:00
74e2d3ef8c
no refs MRR start date value for charts was being calculated with start value as 0, assuming we have the data for first date in our range to use as start value. Since the events data returned only has data on dates where any MRR event happened, in case the first date in our range didn't have any. data we started from 0 instead of value on previous date. This fix - updates calculation to pick the start value for chart based on value on last date in our range(30 days) - adds unit tests for stats |
||
---|---|---|
.. | ||
event-bus-test.js | ||
member-stats-test.js | ||
notifications-test.js | ||
unsplash-test.js |