Tom MacWright 3f08c19533 Move documentation-theme-utils into core
Also:

* Fixes many issues in the default theme
* Moves the default theme from default-theme to default_theme
* Creates a new, robust linker infrastructure that will support
  bare links
* Replaces slugg with github-slugger
* Outputs unknown types as Any. Fixes #451
2016-06-08 12:40:05 -04:00

29 lines
492 B
JavaScript

var test = require('tap').test;
var remark = require('remark');
var theme = require('..');
test('main', function (t) {
var comments = [
{
path: [],
context: {},
description: remark.parse('test'),
members: {
static: [],
instance: []
},
returns: [{
type: {
type: 'NameExpression',
name: 'Foo'
}
}]
}
];
theme(comments, {}, function (err) {
t.ifError(err);
t.done();
});
});