Skip to content

Latest commit

 

History

History
38 lines (18 loc) · 615 Bytes

README.md

File metadata and controls

38 lines (18 loc) · 615 Bytes

sbg-node-client

Seven Bridges NodeJS Client implementation

Develpoment setup:

npm install -g gulp-cli tsd 

# in root directory run
npm install

create file in ~/.sbg/configuration.json

with content

{
    "auth_token" : "xxxxxxx"
}

Running tests:

gulp test

Running specifig client tests:

gulp test --test user # will run only tests/user-client-test.js

Writing tests:

  • When testing API calls, use done() insted of then() since its actually test friendly, and will print pritty stack trace when assertion fails