How to use the teambition-sdk.UserApi.getUserMe function in teambition-sdk

To help you get started, we’ve selected a few teambition-sdk examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github teambition / teambition-sdk / test / e2e / apis / UserApi.ts View on Github external
it ('get user me should ok', done => {
    UserApi.getUserMe()
      .subscribe(userMe => {
        expect(userMe._id).to.not.be.undefined
        expect(userMe.name).to.equal('Teambition FE Test')
        done()
      })
  })
})

teambition-sdk

Front-End SDK for Teambition

MIT
Latest version published 2 years ago

Package Health Score

52 / 100
Full package analysis