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

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

Build:
DEFAULT BRANCH: develop
Ran 18 Jul 2017 08:18PM UTC
Files 228
Run time 9s
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: 85.375% (+0.01%) from 85.363%
TEST="test:api-v3" REQUIRES_SERVER=true 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

4947 of 6536 branches covered (75.69%)

7396 of 8663 relevant lines covered (85.37%)

3004.35 hits per line

Source Files on job 15083.2 (TEST="test:api-v3" REQUIRES_SERVER=true COVERAGE=true)
  • Tree
  • List 0
  • Changed 34
  • Source Changed 1
  • Coverage Changed 34
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 15083
  • Travis Job 15083.2
  • cdbbf93b on github
  • Prev Job for TEST="test:api-v3" REQUIRES_SERVER=true COVERAGE=true on develop (#15078.2)
  • Next Job for TEST="test:api-v3" REQUIRES_SERVER=true COVERAGE=true on develop (#15084.2)
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