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

HabitRPG / habitica / 15083
19%

Build:
DEFAULT BRANCH: develop
Ran 18 Jul 2017 08:03PM UTC
Jobs 5
Files 381
Run time 15min
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

pending completion
15083

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

8599 of 19713 branches covered (43.62%)

9948 of 14014 relevant lines covered (70.99%)

2239.45 hits per line

Jobs
ID Job ID Ran Files Coverage
2 15083.2 (TEST="test:api-v3" REQUIRES_SERVER=true COVERAGE=true) 18 Jul 2017 08:18PM UTC 0
85.37
Travis Job 15083.2
4 15083.4 (TEST="test:content" COVERAGE=true) 18 Jul 2017 08:03PM UTC 0
31.58
Travis Job 15083.4
5 15083.5 (TEST="test:common" COVERAGE=true) 18 Jul 2017 08:03PM UTC 0
57.79
Travis Job 15083.5
6 15083.6 (TEST="test:karma" COVERAGE=true) 18 Jul 2017 08:12PM UTC 0
47.16
Travis Job 15083.6
7 15083.7 (TEST="client:unit" COVERAGE=true) 18 Jul 2017 08:12PM UTC 0
15.42
Travis Job 15083.7
Source Files on build 15083
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #15083
  • cdbbf93b on github
  • Prev Build on develop (#15078)
  • Next Build on develop (#15084)
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