apeman-demo-srvc
Version:
Demo of service project.
26 lines (20 loc) • 448 B
JavaScript
/**
* Test case for index.
* Runs with mocha.
*/
const index = require('../lib/index.js')
const assert = require('assert')
const co = require('co')
describe('index', () => {
before(() => co(function * () {
}))
after(() => co(function * () {
}))
it('Eval props', () => co(function * () {
for (let name of Object.keys(index)) {
assert.ok(index[ name ])
}
}))
})
/* global describe, before, after, it */