1 | /**
|
2 | * Test case for apService.
|
3 | * Runs with mocha.
|
4 | */
|
5 |
|
6 |
|
7 | const ApService = require('../lib/ap_service.js')
|
8 | const assert = require('assert')
|
9 | const co = require('co')
|
10 |
|
11 | describe('ap-service', function () {
|
12 | this.timeout(3000)
|
13 |
|
14 | before(() => co(function * () {
|
15 |
|
16 | }))
|
17 |
|
18 | after(() => co(function * () {
|
19 |
|
20 | }))
|
21 |
|
22 | it('Demo service', () => co(function * () {
|
23 | let service = new ApService()
|
24 | assert.ok(service)
|
25 | }))
|
26 | })
|
27 |
|
28 | /* global describe, before, after, it */
|