28 Commits

Author SHA1 Message Date
Kevin Qi
032aaa9e9a refactor tests, add expectPathPercentageToEqual test helper 2019-05-11 15:49:53 -07:00
Kevin Qi
a828c52ae4 fix bug in pathRatio calculation for negative numbers, add tests 2019-05-11 15:18:00 -07:00
Kevin Qi
af4775625e set value boundaries in CircularProgressbar, instead of in Path 2019-05-11 14:55:21 -07:00
Kevin Qi
397e623a2a fix tests by replace props.percentage with value 2019-05-11 14:49:45 -07:00
Kevin Qi
1595c14360 remove initialAnimation prop 2019-05-10 23:28:24 -07:00
Kevin Qi
2ffb887558 add tests, don't render children wrapper if not needed 2019-05-05 22:28:22 -07:00
Kevin Qi
d41cd6c140 have buildStyles strip undefined values out, add tests, update README 2019-05-04 15:52:34 -07:00
Kevin Qi
469905fffe fix test import 2019-05-04 14:01:32 -07:00
Kevin Qi
3148715818 add tests for circleRatio 2019-04-28 18:09:21 -07:00
Kevin Qi
fe5370c76d fix tests by using mount instead of shallow, and by using wrapper.find.hostNodes (https://github.com/airbnb/enzyme/issues/1253) 2019-04-28 15:32:28 -07:00
Kevin Qi
a036d60a0e move tests to a new /test dir so it doesn't get included in /dist 2019-04-21 17:36:44 -07:00
Kevin Qi
ce3904b722 remove old tests, unused test deps 2019-04-21 12:32:24 -07:00
Kevin Qi
084dc3ca5a add tests for background and classes props 2018-06-24 13:51:31 -07:00
Kevin Qi
c2f459a996 add text prop tests 2018-06-24 13:26:49 -07:00
Kevin Qi
768d8c44fb remove tests for removed props 2018-06-24 13:21:47 -07:00
Kevin Qi
8d485249b4 make styles.root used 2018-06-23 22:10:28 -07:00
Kevin Qi
5f77cbc412 add test for styles prop 2018-01-29 23:13:07 -08:00
Kevin Qi
3099e77229 add test 2017-12-17 16:27:48 -08:00
Kevin Qi
e3d442f720 fix test warning 2017-10-13 23:38:37 -07:00
Kevin Qi
d24cbe5a81 fix logic causing path length to be drawn incorrectly, and add backgroundGutter prop to enable customization 2017-10-13 21:49:38 -07:00
Kevin Qi
ad7e061de3 fix eslint error 2017-08-27 22:58:00 -07:00
Kevin Qi
d22cf7dc98 add tests 2017-08-27 18:38:51 -07:00
Kevin Qi
175a4a507d Add textForPercentage test 2017-02-04 21:32:05 -08:00
Kevin Qi
6f529fce2c Add classForPercentage test 2017-02-04 21:24:15 -08:00
Kevin Qi
2cb09bb66e Add strokeWidth test 2017-02-04 21:14:18 -08:00
Kevin Qi
f57a2fc0fb Update eslint dependencies and fix errors 2016-11-27 18:42:31 -08:00
Kevin Qi
1dc2ae7ee0 Fix lint error, update changelog/readme 2016-05-30 17:41:16 -04:00
Kevin Qi
dd6dec2ab6 Initialize from structure based on react-calendar-heatmap@74eaf47d7a 2016-05-29 16:26:52 -04:00