apeman-doc
Version:
Document generator for apeman.
23 lines (18 loc) • 562 B
JavaScript
/**
* Test case for apemanfileDocBud.
* Runs with mocha.
*/
const apemanfileDocBud = require('../lib/bud/apemanfile_doc_bud.js')
const assert = require('assert')
const co = require('co')
const coz = require('coz')
let tmpDir = __dirname + '/../tmp'
describe('apeman-doc-bud', () => {
it('Apemanfile doc bud', () => co(function * () {
let bud = apemanfileDocBud(require.resolve('../misc/mocks/mock-Apemanfile.js'))
bud.path = tmpDir + '/foo/bar/testing-apemanfile-doc.md'
yield coz.render(bud)
}))
})
/* global describe, it */