UNPKG

apeman-service-api

Version:
31 lines (22 loc) 526 B
/** * Test case for create. * Runs with mocha. */ 'use strict' 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 */