UNPKG

apeman-doc

Version:
23 lines (19 loc) 536 B
/** * Test case for apemanDoc. * Runs with nodeunit. */ "use strict"; const apemanDoc = require('../lib/apeman_doc.js'), assert = require('assert'); let tmplDir = __dirname + '/../tmp'; describe('apeman-doc', () => { it('Generate apemanfile doc.', (done) => { apemanDoc({ out: tmplDir + '/foo/bar/baz/testing-apeman-doc.md', configuration: require.resolve('../doc/mocks/mock-Apemanfile.js') }, (err) => { assert.ifError(err); done(); }); }); });