Commit Graph

7 Commits

Author SHA1 Message Date
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
Albert Juhé Lluveras 5f69fd93ba Exclude three more files from the build ZIP (https://github.com/woocommerce/woocommerce-blocks/pull/2514) 2020-05-25 13:12:04 +02:00
Mike Jolley e1538395be CSS naming convention docs (https://github.com/woocommerce/woocommerce-blocks/pull/1653)
* Move github specific MD files and config to .github directory.

* Create security.md file

* Add docs directory (and exclude from builds)

* Add code of conduct MD

* Move release docs to /docs directory

* Add css guidelines

* Feedback

* Modifier example

* Clarify package naming

* descendant...
2020-01-28 15:50:57 +00:00
Albert Juhé Lluveras 576af53250 Create CODEOWNERS file (https://github.com/woocommerce/woocommerce-blocks/pull/1013)
* Create CODEOWNERS file

* Add CODEOWNERS to the list of excluded files
2019-10-02 19:08:05 +02:00
Albert Juhé Lluveras 32a86498cc Exclude bundlesize config file from ZIP (https://github.com/woocommerce/woocommerce-blocks/pull/910) 2019-08-27 09:56:59 +01:00
Mike Jolley bbadbf674a Update build scripts to include vendor directory 2019-07-11 12:05:20 +01:00
Mike Jolley fb96c0abba WordPress org release script (https://github.com/woocommerce/woocommerce-blocks/pull/685)
* Release scripts update

* pre-release check

* fix github releaser

* Create script to run releaser

* update strings

* Release script

* fixes for releaser

* Update dev docs

* indents
2019-07-04 16:01:06 +01:00