]> git.ipfire.org Git - thirdparty/Chart.js.git/commit
New toBeCloseToPixel jasmine matcher
authorSimon Brunel <simonbrunel@users.noreply.github.com>
Mon, 25 Apr 2016 23:30:59 +0000 (01:30 +0200)
committerSimon Brunel <simonbrunel@users.noreply.github.com>
Tue, 26 Apr 2016 10:46:33 +0000 (12:46 +0200)
commit8b156bdc98613671d6c4e247b604c89506e3c810
treefed1c70f112a7f8f6c61d9e301cd02c14b2ea3bf
parent886956441e33699f60aac66a89a8b4e421059523
New toBeCloseToPixel jasmine matcher

Because of differences between testing platforms, introduce a new matcher for (floating) pixel values comparison (currently 2 pixels tolerance).
test/mockContext.js