Seven Bridges NodeJS Client implementation
npm install -g gulp-cli tsd
# in root directory run
npm install
create file in ~/.sbg/configuration.json
with content
{
"auth_token" : "xxxxxxx"
}
gulp test
Running specifig client tests:
gulp test --test user # will run only tests/user-client-test.js
- When testing API calls, use done() insted of then() since its actually test friendly, and will print pritty stack trace when assertion fails