]> git.ipfire.org Git - thirdparty/Chart.js.git/commit
New test helpers to acquire and release charts
authorSimon Brunel <simonbrunel@users.noreply.github.com>
Mon, 25 Apr 2016 17:58:12 +0000 (19:58 +0200)
committerSimon Brunel <simonbrunel@users.noreply.github.com>
Tue, 26 Apr 2016 10:46:31 +0000 (12:46 +0200)
commit886956441e33699f60aac66a89a8b4e421059523
treeb91eaad7cbe07479211a1e682b819f502aa7e189
parentaa0933e040b456e23557a999408f6047578e631c
New test helpers to acquire and release charts

Since we changed the way how meta data are stores, now unit tests need to work on real Chart instances. This commit brings some helpers to inject/cleanup HTML canvas and it's wrapper into/from the DOM.
test/mockContext.js