Demo App for the talk http://fayway.github.io/ComponentsTesting/
- Install Node 4
- Clone this repo
- Install dependencies
cd project-folder
npm install
npm run dev
Navigate to http://localhost:8080/
npm test
It will execute tests listed in directory tests/slides/
Launch
npm run devtest
And navigate to http://localhost:8080/test
npm install webpack -g
webpack --watch
Webpack has a web server called webpack-dev-server. From the command line, install webpack-dev-server globally:
npm install webpack-dev-server -g
From the command line, run the following command:
webpack-dev-server
To enable hot-loading and remove the App Ready status bar at the top, terminate the webpack-dev-server and rerun webpack-dev-server with the inline flag:
webpack-dev-server --inline