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

source-academy / cadet-frontend / 615 / 1
30%
master: 30%

Build:
DEFAULT BRANCH: master
Ran 11 Aug 2018 07:39AM UTC
Files 101
Run time 5s
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

11 Aug 2018 07:37AM UTC coverage: 25.72% (+0.3%) from 25.401%
615.1

push

travis-ci

ningyuansg
Fix dates not being parsed properly (#277)

* Add moment library

* Use moment to parse dates

* Use moment for beforeNow check

* Format and update test

* Update docs for assessmentShape and dateHelpers

* Use more readable names

* Add unopened cards

For semantics, renamed openCards to openedCards (aligning with
closedCards and unopenedCards)

* Add a mock unopened assessment

* Update mock summary

* Add state and toggle for showing unopened cards

* Format and update test

* Add param for rendering attempt button

* Pass isStudent to Assessment using session.role

* Use isStudent for rendering card

Also set isStudent as true in case role is undefined

* Format and update tests

* Rename variables in render uponened -> upcoming

* Rename state and toggle functions

* Make date formatting prettier

* Add test for upcoming assessments Button display

* Use renderAttemptButton argument

Whoops. TDD is great. This means that the change works, as the buttons
go missing for the test.

132 of 1023 branches covered (12.9%)

Branch coverage included in aggregate %.

868 of 2865 relevant lines covered (30.3%)

1.42 hits per line

Source Files on job 615.1
  • Tree
  • List 0
  • Changed 9
  • Source Changed 5
  • Coverage Changed 9
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 598
  • Travis Job 615.1
  • 71d91366 on github
  • Prev Job for on master (#606.1)
  • Next Job for on master (#616.1)
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