apeman-service-api
Version:
Apeman service for API access.
31 lines (22 loc) • 526 B
JavaScript
/**
* Test case for create.
* Runs with mocha.
*/
const create = require('../lib/create.js')
const assert = require('assert')
const apemanstore = require('apemanstore')
const co = require('co')
describe('create', function () {
this.timeout(3000)
before(() => co(function * () {
}))
after(() => co(function * () {
}))
it('Create', () => co(function * () {
let store = apemanstore()
let created = create(store)
assert.ok(created)
}))
})
/* global describe, before, after, it */