Vue.js question detail
What is the procedure to run tests in browser?
Below are the steps to run tests in real browser,
- Install
mocha-loader. - Configure webpack config entry point to 'mocha-loader!babel-loader!./test.js'.
- Start webpack-dev-server using the config.
- Go to
localhost:8080/webpack-dev-server/test-bundleto see the test result