woocommerce/plugins/woocommerce-blocks/tests/js
Kevin Killingsworth dc2b4485f4 Add placeholder image for product preview (https://github.com/woocommerce/woocommerce-blocks/pull/382)
* Add placeholder image for product preview

This adds the designated placeholder image url from settings into the
wcSettings global for the blocks to use. Then uses the placeholder url
when a product doesn't have any images.

* Updated based on review notes

Using `$block_settings` instead of `$settings`
Using '' alt tag
Updated snapshot

* Add the placeholder global to test that it passes through to the preview
2019-02-01 10:45:53 -05:00
..
jest.config.json Set up Jest for JS testing (https://github.com/woocommerce/woocommerce-blocks/pull/130) 2018-11-16 10:43:51 -05:00
setup-globals.js Add placeholder image for product preview (https://github.com/woocommerce/woocommerce-blocks/pull/382) 2019-02-01 10:45:53 -05:00