hieutdo / ngCliWebpackSample

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Wallaby.js

To get wallaby.js working after you have generated your project with angular-cli, you'll need to do the following:

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 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, to do that you may remove the env setting. In this case, you will not need to npm i electron (and can remove electron from the package.json dependencies), however will need to uncomment core-js polyfills and Intl polyfill, so that PhantomJs may work.

About


Languages

Language:TypeScript 55.0%Language:JavaScript 33.1%Language:HTML 11.0%Language:CSS 1.0%