UNPKG

apeman-service-api

Version:
33 lines (23 loc) 606 B
/** * Test case for apApiService. * Runs with mocha. */ 'use strict' const ApApiService = require('../lib/ap_api_service.js') const apemanstore = require('apemanstore') const assert = require('assert') const co = require('co') describe('ap-api-service', function () { this.timeout(3000) before(() => co(function * () { })) after(() => co(function * () { })) it('Do service', () => co(function * () { let store = apemanstore() let service = new ApApiService(store) console.log(service.url('/foo')) assert.ok(service) })) }) /* global describe, before, after, it */