woocommerce/plugins/woocommerce-blocks/bin
Darren Ethier 41ca430ffe Add initial cart flow tests (https://github.com/woocommerce/woocommerce-blocks/pull/2678)
* more setup configuration for rtl

* move default state for cart out of reducer

This also creates a file for default store states, it should make it easier to execute tests in various environments.

* Make sure there’s a default object for cart line item row

* set defaults for cartData

* add fetchMock as a global in eslint config

* add initial cart flow tests

This is just to get the ball rolling, the cart block needs more tests

* fix missing @wordpress/jest-console configs (because I overwrote the original configuration)

* update test because of change in branch

* switch import order

* add globals.d.ts file to declare globals we use.

This is a quick solution to prevent typescript linting warning about `fetchMock`. At some point we could also create a proper interface for it or import the types (if they exist) for the `jest-mock` package.

The new `globals.d.ts` file is excluded from published builds.
2020-06-10 14:21:34 -04:00
..
changelog Update changelog script. (https://github.com/woocommerce/woocommerce-blocks/pull/1655) 2020-01-28 08:47:26 -05:00
docker Pass WP version to docker-compose as ENV var (https://github.com/woocommerce/woocommerce-blocks/pull/2683) 2020-06-10 15:55:40 +01:00
eslint-plugin-woocommerce Expand Feature flags (https://github.com/woocommerce/woocommerce-blocks/pull/2591) 2020-06-05 20:13:51 +01:00
build-plugin-zip.sh Add initial cart flow tests (https://github.com/woocommerce/woocommerce-blocks/pull/2678) 2020-06-10 14:21:34 -04:00
development-check.sh small script to check local environment for commands 2019-07-02 15:25:59 +01:00
fallback-module-directory-webpack-plugin.js Fix blocks not being added in WP <= 5.2 (https://github.com/woocommerce/woocommerce-blocks/pull/2001) 2020-03-26 13:39:54 +01:00
github-deploy.sh Add version string replacement script for deploy (https://github.com/woocommerce/woocommerce-blocks/pull/948) 2019-09-06 12:38:05 -04:00
merge-extract-files-webpack-plugin.js Install prettier and reformat files (https://github.com/woocommerce/woocommerce-blocks/pull/945) 2019-09-05 17:09:31 +02:00
version-changes.sh Show notices when WP or PHP versions are not met (https://github.com/woocommerce/woocommerce-blocks/pull/1160) 2019-11-15 13:33:43 +01:00
webpack-helpers.js Ignore dashicons imports (https://github.com/woocommerce/woocommerce-blocks/pull/2664) 2020-06-08 11:27:40 -04:00
wordpress-deploy.sh Add initial cart flow tests (https://github.com/woocommerce/woocommerce-blocks/pull/2678) 2020-06-10 14:21:34 -04:00