mirror of
https://github.com/documentationjs/documentation.git
synced 2026-01-18 14:17:30 +00:00
16 lines
291 B
JavaScript
16 lines
291 B
JavaScript
'use strict';
|
|
|
|
var test = require('tap').test,
|
|
resolveTheme = require('../../lib/resolve_theme');
|
|
|
|
test('resolveTheme', function (t) {
|
|
|
|
t.throws(function () {
|
|
resolveTheme('INVALID-THEME');
|
|
});
|
|
|
|
t.ok(resolveTheme('documentation-theme-default'), 'finds default');
|
|
|
|
t.end();
|
|
});
|