Skip to content
Example code for part 2 of my talk "JavaScript Testing In And Around WordPress"
Branch: master
Clone or download
Latest commit b6f0323 Jul 11, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
e2e cleanup test files Jul 11, 2019
src use display value for save callback Jul 10, 2019
.gitignore intial commit May 31, 2019
README.md
block.json intial commit Jul 10, 2019
docker-compose.yml intial commit Jul 10, 2019
includes.sh
install-wordpress.sh setup local dev & e2e like they do in core Jul 10, 2019
jest.config.js reduce the amount of readme Jul 10, 2019
josh-jswp.php intial commit Jul 10, 2019
launch-containers.sh setup local dev & e2e like they do in core Jul 10, 2019
package.json cleanup test files Jul 11, 2019
start.sh setup local dev & e2e like they do in core Jul 10, 2019
yarn.lock copy in componets from app and setup tests for them Jul 10, 2019

README.md

Testing JavaScript In And Around WordPress Part 2 Example Code

Development

  • Clone
    • git clone git@github.com:Shelob9/isoblock.git && cd isoblock
  • Install
    • yarn
  • Start
    • yarn start
  • Build For Production
    • yarn build
  • Run Unit Tests
  • Run e2e Tests
    • yarn test:e2e
    • Must insall local dev environment first.

Local Development

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
You can’t perform that action at this time.