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

hustcc / jest-canvas-mock / 65
100%

Build:
DEFAULT BRANCH: master
Ran 29 Jan 2019 05:56AM UTC
Jobs 5
Files 7
Run time 2min
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
65

push

travis-ci

hustcc
CanvasRenderingContext2D class implementation (#17)

* first commit, add classes, add a few properties

* implement DOMMatrix and acheive 100% coverage for DOMMatrix

* implement ImageData, fix DOMMatrix constructor, remove createCanvas and relative testing (since jsdom supports creating canvas objects)

* fix getImageData implementation

* Strange error

* fix mocking code, implement createPattern

* implement a bunch of tests, acheive almost 100% test coverage

* implement globalCompositeOperation

* implement imageSmoothingQuality

* Implement setLineDash

* implement setTransform, todo: implement DOMMatrix setTransform

* lineWidth, setTransform

* refactor tests into their own files, implement a lot more properties

* textAlign, textBaseline

* add addHitRegion, todo: finish addHitRegion

* add addHitRegion, todo: finish addHitRegion

* add a lot of functions

* add a lot of functions

* add stroke, scale, save

* fix getImageData, createRadialGradient, create fillRect, rect, resetTransform, strokeRect, and clearRect

* translate, moveTo, lineTo

* fix arc, createRadialGradient, add TextMetrics to window, add createLinearGradient, measureText, ellipse, rotate, bezierCurveTo

* isPointInPath, isPointInStroke, drawImage, drawFocusIfNeeded

* Implement fill, fillText, putImageData, quadraticCurveTo, removeHitRegion, scrollPathIntoView, strokeText, transform

* update package.json format

* fix canvasgradient output

353 of 353 branches covered (100.0%)

Branch coverage included in aggregate %.

389 of 389 new or added lines in 4 files covered. (100.0%)

392 of 392 relevant lines covered (100.0%)

196.93 hits per line

Jobs
ID Job ID Ran Files Coverage
1 65.1 29 Jan 2019 05:58AM UTC 0
100.0
Travis Job 65.1
2 65.2 29 Jan 2019 05:56AM UTC 0
100.0
Travis Job 65.2
3 65.3 29 Jan 2019 05:57AM UTC 0
100.0
Travis Job 65.3
4 65.4 29 Jan 2019 05:56AM UTC 0
100.0
Travis Job 65.4
5 65.5 29 Jan 2019 05:56AM UTC 0
100.0
Travis Job 65.5
Source Files on build 65
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #65
  • ca486a1d on github
  • Prev Build on master (#36)
  • Next Build on master (#73)
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

© 2025 Coveralls, Inc