Skip to content

Latest commit

 

History

History
46 lines (26 loc) · 1.23 KB

README.md

File metadata and controls

46 lines (26 loc) · 1.23 KB

PTAnywhere-js

Javascript client for the PTAnywhere API.

NOTE: this library is no longer used. Instead, check submodules ptAnywhere.api.http and ptAnywhere.api.websocket in ptAnywhere-widget v2.x.

Download dependencies

To download the dependencies, run the following command:

bower update

If you don't have Bower installed on your system, run the following first:

npm install -g bower

Test it with Jasmine

To test this library using only the Jasmine testing framework open the file test/SpecRunner.html.

Please, note that before running the tests you need to download the dependencies.

Test it with Karma

You can test this library using Karma by following these steps:

npm install karma karma-jasmine karma-chrome-launcher karma-firefox-launcher --save-dev
  • Run it
./node_modules/karma/bin/karma start

Please, note that before running the tests you need to download the dependencies.