unpkg/modules/__tests__/utils/withToken.js

8 lines
151 B
JavaScript

const AuthAPI = require('../../AuthAPI');
function withToken(scopes, done) {
AuthAPI.createToken(scopes).then(done);
}
module.exports = withToken;