Examplifies how to test JavaScript from a WordPress plugin using Jest.
This repo is a companion to the tutorial Easy JavaScript unit tests in WordPress with Jest
Clone this repo and enter its directory.
Run npm install
to download all the dependencies.
Run npm run test
to run Jest tests.