Module: test/app-integration-helper-user

Provides user utilities used in integration tests.

Source:

Methods

(static) getAccessToken() → {Promise.<string>}

Returns a promise which resolves to an access token. A new user is saved during the process. Upon subsequent calls, same user will be used.

Source:
Returns:
Type
Promise.<string>

(static) getAccessTokenAndUserId() → {Promise}

Returns a promise which resolves to an access token and a user id. A new user is saved during the process. Upon subsequent calls, same user will be used.

Source:
Returns:
Type
Promise

(static) getUserId() → {Promise.<string>}

Returns a promise which resolves to a user id. A new user is saved during the process. Upon subsequent calls, same user will be used.

Source:
Returns:
Type
Promise.<string>