woocommerce/plugins/woocommerce-blocks/tests
Thomas Roberts e49a7eaffd Update Label component to TSX (https://github.com/woocommerce/woocommerce-blocks/pull/3889)
* Add tsconfig to components directory and include it as project

* Add @types/classnames package

* Migrate Label component to TSX

* Remove unused imports from Label component

* fix package-lock.json

It was generated with npm 7 and we don’t support that yet (and that update should be done in a separate pull)

* Add interface for LabelProps and implement.

Also:
- import `Fragment` from @wordpress/element.
- import `HTMLAttributes` explicitly as a type from react (@types/wordpress__element doesn’t export this interface).

* fix jest configuration

Co-authored-by: Darren Ethier <darren@roughsmootheng.in>
2021-02-26 11:57:49 +00: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 Create GitHub actions for automated tests (https://github.com/woocommerce/woocommerce-blocks/pull/3544) 2021-01-05 09:27:22 +00:00
js Update Label component to TSX (https://github.com/woocommerce/woocommerce-blocks/pull/3889) 2021-02-26 11:57:49 +00:00
php Catch errors during cart validation (https://github.com/woocommerce/woocommerce-blocks/pull/3703) 2021-02-15 14:03:04 +00:00
utils Enable and fix all jsdoc rule violations (https://github.com/woocommerce/woocommerce-blocks/pull/3168) 2020-09-20 19:54:08 -04:00
bootstrap.php Fix broken PHPunit tests (https://github.com/woocommerce/woocommerce-blocks/pull/3690) 2021-01-16 08:48:46 +01:00