0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-24 23:48:13 -05:00
ghost/ghost/admin/tests
Rishabh Garg 74e2d3ef8c 🐛 Fixed MRR start date value in chart (#1865)
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
2021-03-15 15:23:55 +05:30
..
acceptance Changed all green and blue modal buttons to black 2021-03-05 13:16:43 +01:00
helpers Updated core files to match ember-cli new output 2020-08-03 09:24:58 +01:00
integration Skipped test that broke with FF85 on linux 2021-02-10 09:23:29 +00:00
unit 🐛 Fixed MRR start date value in chart (#1865) 2021-03-15 15:23:55 +05:30
.eslintrc.js Update dependency eslint to v7 (#1566) 2020-05-17 22:53:37 +01:00
index.html Remove ember application template wrapper 2018-05-01 10:57:20 +01:00
test-helper.js Updated core files to match ember-cli new output 2020-08-03 09:24:58 +01:00