FrontendDeveloper.in

Vue.js question detail

What is the procedure to run tests in browser?

Below are the steps to run tests in real browser,

  1. Install mocha-loader.
  2. Configure webpack config entry point to 'mocha-loader!babel-loader!./test.js'.
  3. Start webpack-dev-server using the config.
  4. Go to localhost:8080/webpack-dev-server/test-bundle to see the test result
Back to all Vue.js questions
Get LinkedIn Premium at Rs 399