To get wallaby.js working for the angular-starter
project, you'll need to do the following:
- Add the wallaby.js config file to the project.
- Add the wallaby.js test bootstrap file to the project.
- Run
npm install wallaby-webpack electron --save-dev
.
Note that the sample is using Electron test runner.
Alternatively, you may use Chrome (headless) runner. In this case you may change the env
setting in the wallaby config file to env: {kind: 'chrome'}
, and you will not need to npm i electron
(and can remove electron
from the package.json
dependencies).
You may use PhantomJs runner if you like. In this case you may remove the env
setting from the wallaby config file, and you will not need to npm i electron
(and can remove electron
from the package.json
dependencies).