This blog post describes this Vue/Mocha/Puppeteer setup in detail.
npm start- Start a static server using serve. Runnpm startand go tohttp://localhost:5000to see the basic Vue app in action.npm test- Run mocha tests. By default, runs Puppeteer in headless mode. Useenv D=1 npm testto turn off headless mode so you can watch Mocha click through the app.