This is basic example for mocha + puppeteer.
npm start
- Start a static server using serve. Runnpm start
and go tohttp://localhost:5000
to see the index page in action.npm test
- Run mocha tests. By default, runs Puppeteer in headless mode. Useenv D=1 npm test
to turn off headless mode so you can watch Mocha click through the app.