Skip to content

Latest commit

 

History

History
44 lines (35 loc) · 1.18 KB

readme.md

File metadata and controls

44 lines (35 loc) · 1.18 KB

Circle Challenge

Please ensure that Node.js v6 and Chrome are installed.

Start the app

Open a console, type npm start and hit enter.

OR

Run each step manually:

  1. npm install
  2. npm run bundle:production
  3. Open ./dist/index.html in a browser

Tests

  • Running the unit tests:

    1. npm run bundle:development
    2. npm test
  • Generate code coverage report:

    1. npm run coverage
    2. open ./coverage/report/index.html in a browser
  • Running the E2E tests:

    1. npm run bundle:development
    2. npm run webdriver-manager update
    3. npm run webdriver-manager start
    4. npm run test:e2e
  • The app is tested with Node.js v6.2.2 on:

    • Mac OSX with
      • Safari v9.1.1
      • Firefox v49.0.1
      • Chrome v53.0.2785.143
    • Windows 10
      • Firefox v49.0.1
      • Chrome v53.0.2785.143

Developer dependencies

In order to automate some of the tasks, such as bundling the app or running the tests, some 3rd party code is used. Please see package.json for a detailed list of all the 3rd party dependencies used.