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

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

Build:
DEFAULT BRANCH: develop
Ran 18 Jul 2017 08:03PM UTC
Files 161
Run time 7s
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: 31.58%. Remained the same
TEST="test:content" 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

124 of 3601 branches covered (3.44%)

1681 of 5323 relevant lines covered (31.58%)

22.38 hits per line

Source Files on job 15083.4 (TEST="test:content" 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.4
  • cdbbf93b on github
  • Prev Job for TEST="test:content" COVERAGE=true on develop (#15078.4)
  • Next Job for TEST="test:content" COVERAGE=true on develop (#15084.4)
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