woocommerce/plugins/woocommerce-admin/tests
Darren Ethier d728d38219 Refactor: Alternative approach to implementing extendable settings from the server (https://github.com/woocommerce/woocommerce-admin/pull/2917)
* integrate with new asset data registration (php side)

- includes back-compatibility.

* update js configuration and implement settings alias

- this aliases `@woocommerce/wc-admin-settings` to the settings api exposed via blocks (either the blocks plugin or core) and all the settings provided via the server.
- Adds fallback for back-compat if `wc.wcSettings` is not available in the environment (fallsback to `wcSettings`).

* initial pass to update all wcSettings direct usage to the new api

- this is just an initial pass, more can be done in separate pulls.

* missed one spot for adding new filter implementation

* fix incorrect jest config

* Avoid unnecessary assignment and directly return.

* Remove unnecessary defaults

* Fix inline comment text case.

Co-Authored-By: Albert Juhé Lluveras <contact@albertjuhe.com>

* Remove unnecessary inline comment.

* use @todo instead of TODO

Co-Authored-By: Albert Juhé Lluveras <contact@albertjuhe.com>

* fix incorrect reference in webpack config.

* add missing import and slightly delay dependency injection for scripts

* update get-setting and set-setting callbacks

* disable lint rule for console.error on dev doc builds
2019-09-23 17:47:08 -04:00
..
api Onboarding: Add create homepage logic to "Customize Appearance" step (https://github.com/woocommerce/woocommerce-admin/pull/2889) 2019-09-06 22:18:44 +08:00
framework/helpers Test help queue runner - run until no more jobs remain. 2019-08-21 16:39:09 -07:00
js Refactor: Alternative approach to implementing extendable settings from the server (https://github.com/woocommerce/woocommerce-admin/pull/2917) 2019-09-23 17:47:08 -04:00
reports Ignore refunded amounts when calculating gross total. 2019-08-20 11:41:28 -07:00
api-init.php Remove defunct filename prefix from remaining files. 2019-08-12 15:06:36 -07:00
batch-queue.php Fix variable name typo (https://github.com/woocommerce/woocommerce-admin/pull/2922) 2019-09-13 18:39:51 +02:00
bootstrap.php Remove defunct filename prefix from remaining files. 2019-08-12 15:06:36 -07:00
plugin-version.php Add test to catch missing version updates. 2019-06-13 15:40:02 -06:00
queue-priority.php Remove defunct filename prefix from remaining files. 2019-08-12 15:06:36 -07:00
test-sample.php Fix linting errors in tests/test-sample.php 2018-10-23 09:57:45 -04:00