Skip to content

Latest commit

 

History

History
33 lines (19 loc) · 1.12 KB

README.md

File metadata and controls

33 lines (19 loc) · 1.12 KB

Requirement

  • Angular CLI Version 8+

Getting Started With ngcli-wallaby Schematics

This schematics will let you setup wallaby.js testing environment by simply run following command.

ng add ngcli-wallaby

After running ng add ngcli-wallaby command, it will do following things.

  • Add the wallaby.js config file to the project.
  • Run npm install wallaby-webpack --save-dev.

In default setup, it uses Chrome (headless) runner as default runner instead electron. If you want to use electron, you can manually change it back by changing the env setting to env: {kind: 'electron'}, and run npm i electron

In this version, it only works on simple angular project. If you are using multi projects structure, this schematics will not work. Please be attantion to that.

Nrwl Nx project

Removed (2019/8/17)

Credit

Thanks to TomWhiteOmni.

Reference