This blog post describes this Vue/Mocha/Puppeteer setup in detail.
npm start
- Start a static server using serve. Runnpm start
and go tohttp://localhost:5000
to see the basic Vue app 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.