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

hypothesis / h / 9299
70%
master: 97%

Build:
Build:
LAST BUILD BRANCH: realtime-update-v1-h-only-1
DEFAULT BRANCH: master
Ran 09 Dec 2015 06:03PM UTC
Jobs 1
Files 92
Run time 3s
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
9299

push

travis-ci

seanh
Change vm.document to vm.document()

vm.document was a variable containing data duplicated from domainModel (not an
exact copy, but data extracted from domainModel anyway).

It's just easier to have a method for getting this - saves having to manage
another variable and update it at the correct times.

In making this change I noticed that there were several tests for
updateViewModel() that were actually tests for extractDocumentMetadata()
(which updateViewModel() was calling). These tests are no longer valud since
updateViewModel() no longer calls extractDocumentMetadata(), and there are
already duplicate unit tests of extractDocumentMetadata() itself.

This leaves the describe('updateViewModel()') empty of tests, and since
updateViewModel() is now pretty trivial, I decided just to delete the
describe() rather then leave it empty or think up some tests to add to it.

2602 of 3715 relevant lines covered (70.04%)

0.7 hits per line

Jobs
ID Job ID Ran Files Coverage
1 9299.1 09 Dec 2015 06:03PM UTC 0
70.04
Travis Job 9299.1
Source Files on build 9299
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #9299
  • d71d7cb4 on github
  • Prev Build on AnnotationController-domain-model-view-model-refactor (#9291)
  • Next Build on AnnotationController-domain-model-view-model-refactor (#9302)
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