UNPKG

ucenter-client

Version:

A full-featured UCenter client for Node.js.

17 lines (16 loc) 482 B
const assert = require('assert'); const UC_CONFIG = require('./server.config.json'); const uc = require('../index')(UC_CONFIG); describe('App', function() { describe('#getAppList()', function() { it('should be integrated', function() { return uc.app.getAppList() .then(function(data) { assert.equal(Object.keys(data).length > 0, true); }) .catch(function(err) { assert.fail(err); }); }); }); });