• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

HabitRPG / habitica / 15083 / 7
19%
develop: 19%

Build:
DEFAULT BRANCH: develop
Ran 18 Jul 2017 08:12PM UTC
Files 75
Run time 2s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

18 Jul 2017 07:53PM UTC coverage: 15.421%. Remained the same
TEST="client:unit" COVERAGE=true

push

travis-ci

SabreCat
Weekly/Monthly Habit reset counters resetting early - fixes #8570 (#8749)

* For habit reset logic, changed day check calculation to use user’s timezone instead of server time.
Added unit tests to check following cases:
- Weekly habit reset: Server tz is Sunday, User tz is Monday
- Weekly habit reset: Server tz is Monday, User tz is Sunday
- Monthly habit reset: Server tz is 1st of month, User tz is 2nd of month
- Monthly habit reset: Server tz is end of prev month, User tz is 1st of month

* use moment().zone() instead of utcOffset()

* typo

* Fixed check for daysMissed, added logic for CDS
Added test for CDS, fixed previous tests

54 of 522 branches covered (10.34%)

165 of 1070 relevant lines covered (15.42%)

1618.11 hits per line

Source Files on job 15083.7 (TEST="client:unit" COVERAGE=true)
  • Tree
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 15083
  • Travis Job 15083.7
  • cdbbf93b on github
  • Prev Job for TEST="client:unit" COVERAGE=true on develop (#15078.7)
  • Next Job for TEST="client:unit" COVERAGE=true on develop (#15084.7)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc