Unit test usage examples. Contains connection to world bank API.
git clone https://github.com/antmihlin/angular-unit-tests.git
cd <directory of the the cloned project>
npm install
Run ng serve
for a dev server. Navigate to http://localhost:4200/
. The app will automatically reload if you change any of the source files.
Run ng test
to execute the unit tests via Karma.
Run ng e2e
to execute the end-to-end tests via Protractor.