This code goes with:
- JavaScript Testing In And Around WordPress - The gitbook
- JavaScript Testing In And Around WordPress - The Slides
- Clone
git clone [email protected]:Shelob9/isoblock.git && cd isoblock
- Install
yarn
- Start
yarn start
- Build For Production
yarn build
- Run Unit Tests
yarn test:unit
- Uses
@wordpress/scripts
- Run e2e Tests
yarn test:e2e
- Must insall local dev environment first.
A local development server is included. It requires Docker and Docker Compose and is 95% copypated from WordPress core's local environment
- Start server and echo URL
yarn start:env