woocommerce/plugins/woocommerce-blocks/tests
Mike Jolley 5b65a02297 Rest API batching support (https://github.com/woocommerce/woocommerce-blocks/pull/3899)
* Add batch route

* Register batch route

* Allow batching on writable endpoints

* Batch in client

* Batch non-GET requests

* Batching support with typescript defs

* Remove unused hook

* Prevent multiple fragment updates

* Only use batch route if detected

* Correct var name

* Move nonce check to validate_callback so it runs before requests are completed

* remove unused imports

* updateCartFragments function as const

* Add phpunit tests for batching functionality

* Reduce batch delay

* increase timeout
2021-04-16 13:45:56 +01:00
..
bin Get the latest stable version of WooCommerce for PHPUnit testing (https://github.com/woocommerce/woocommerce-blocks/pull/3594) 2020-12-23 16:10:25 +01:00
e2e Rest API batching support (https://github.com/woocommerce/woocommerce-blocks/pull/3899) 2021-04-16 13:45:56 +01:00
js Update Label component to TSX (https://github.com/woocommerce/woocommerce-blocks/pull/3889) 2021-02-26 11:57:49 +00:00
php Rest API batching support (https://github.com/woocommerce/woocommerce-blocks/pull/3899) 2021-04-16 13:45:56 +01:00
utils Add initial e2e tests to Checkout block frontend (https://github.com/woocommerce/woocommerce-blocks/pull/4004) 2021-04-14 15:50:27 +01:00
bootstrap.php Fix broken PHPunit tests (https://github.com/woocommerce/woocommerce-blocks/pull/3690) 2021-01-16 08:48:46 +01:00