f708214246
* Add third party local pickup method to woo-test-helper plugin * Add test to check for checkout with local pickup * Ensure local pickup is disabled when done with tests * Add a more reliable selector for the "use same address for billing" box * Prevent local pickup rates showing if local pickup is not enabled * Check billing details after placing local pickup order * Change local pickup unit test so rates dont show if localPickup disabled * Use existing const instead of getSetting * Update tests to mock constant from @woocommerce/block-settings --------- Co-authored-by: Niels Lange <info@nielslange.de> |
||
---|---|---|
.. | ||
components | ||
context | ||
hocs | ||
hooks | ||
utils | ||
README.MD |
README.MD
Base Components/Context/Hooks
Base components are designed to be used on the frontend of a store. Due to this, we need to avoid using heavy WordPress externals as dependencies (wp-components, wp-block-editor, etc). To get around this, import from a local package instead.
e.g. Instead of importing from @wordpress/components
, use:
import { Component } from 'wordpress-components';
Check the built *.assets.php
files to ensure extra dependencies aren't being added to the build.