Justin Shreve
37e48ed6de
Define text domain in test setup, and re-enable date test
2018-07-13 10:28:24 -04:00
Robert Elliott
7b8bcea17a
move dummy into fixtures subfolder
2018-07-10 17:07:34 +02:00
Robert Elliott
da980328e2
move dummy js and add README
2018-07-10 16:09:47 +02:00
Justin Shreve
71c12e6795
Update woo-dash naming to new wc-admin name ( https://github.com/woocommerce/woocommerce-admin/pull/183 )
2018-07-10 08:48:06 -04:00
Robert Elliott
5c0a293297
refactor params to reduce recalculating scales each time + new tests
2018-07-09 15:35:25 +02:00
Robert Elliott
806d423324
bar chart and example
2018-07-09 15:35:12 +02:00
Paul Sealock
817f6813a1
Date: Load localeData into Momentjs
2018-07-06 14:04:17 +12:00
Paul Sealock
be002e442a
DatePicker: Hook up react-dates
2018-06-27 14:11:13 +12:00
Kelly Dwan
17cbf3a3ad
Add `formatCurrency`, which relies on a global currency object and local set on wcSettings
2018-06-26 14:22:23 -07:00
Kelly Dwan
99ac7728cd
Try a context-aware heading component ( https://github.com/woocommerce/woocommerce-admin/pull/121 )
...
* Add H and Section components for context-aware headings
* Switch to using the new context-aware heading and section components
* Style header by class name, not heading level
* Add our client dir to the modules list for Jest
We already have this setting in webpack, but Jest doesn’t pick up on that
2018-06-20 11:10:06 -04:00
Kelly Dwan
a8682ccc70
Pin Gutenberg version to 2.9.0 for tests ( https://github.com/woocommerce/woocommerce-admin/pull/66 )
...
* Pin Gutenberg to V2.9.0
* Update webpack & Jest config for Gutenberg 2.9.0
2018-05-21 11:26:04 -04:00
Kelly Dwan
3554c4ef7d
Tests: Add Jest with Gutenberg as a npm dependency ( https://github.com/woocommerce/woocommerce-admin/pull/43 )
...
* Add Jest testing with Gutenberg as a dependency
* Add test using Enzyme
* Update for “element” moving
Something also must have moved api-request, so we mock that import now
2018-05-16 10:59:03 -04:00
Kelly Dwan
e8f9a5faed
PHPUnit: Ensure Gutenberg is loaded
...
Also adds the config from WC’s phpunit file
2018-05-03 13:36:36 -04:00
Kelly Dwan
555da60b01
Initial commit of plugin scaffold
2018-04-17 17:04:17 -04:00