unpkg/modules/__tests__/utils/withToken.js

8 lines
151 B
JavaScript
Raw Normal View History

2018-12-17 17:38:05 +00:00
const AuthAPI = require('../../AuthAPI');
2017-11-11 20:18:13 +00:00
2018-09-01 13:37:48 +00:00
function withToken(scopes, done) {
AuthAPI.createToken(scopes).then(done);
2017-11-11 20:18:13 +00:00
}
2018-02-18 02:00:56 +00:00
module.exports = withToken;